LoutreOS: améliorations minecraft overviewer
This commit is contained in:
parent
519e402a1b
commit
2bce0bc5ac
@ -1,4 +1,4 @@
|
||||
from .observer import JSObserver
|
||||
from .observer import MultiplexingObserver, LoggingObserver, JSObserver
|
||||
|
||||
global escape
|
||||
from cgi import escape
|
||||
@ -38,4 +38,4 @@ renders["Grottes"] = {
|
||||
|
||||
outputdir = "/var/www/minecraft-overviewer"
|
||||
|
||||
observer = JSObserver(outputdir=outputdir)
|
||||
observer = MultiplexingObserver(LoggingObserver(), JSObserver(outputdir))
|
||||
|
@ -279,6 +279,7 @@ in
|
||||
script = ''
|
||||
${pkgs.minecraft-overviewer}/bin/overviewer.py --config ${configFile}
|
||||
${pkgs.minecraft-overviewer}/bin/overviewer.py --config ${configFile} --genpoi
|
||||
rm /var/www/minecraft-overviewer/progress.json
|
||||
'';
|
||||
serviceConfig = {
|
||||
User = "nginx";
|
||||
|
Loading…
Reference in New Issue
Block a user