nixos/weblate: add gunicorn preloading
This commit is contained in:
@@ -369,9 +369,10 @@ in
|
||||
});
|
||||
in
|
||||
''
|
||||
${gunicorn}/bin/gunicorn \
|
||||
${lib.getExe gunicorn} \
|
||||
--name=weblate \
|
||||
--bind='unix:///run/weblate.socket' \
|
||||
--preload \
|
||||
weblate.wsgi
|
||||
'';
|
||||
ExecReload = "${lib.getExe' pkgs.coreutils "kill"} -s HUP $MAINPID";
|
||||
|
||||
Reference in New Issue
Block a user