diff --git a/machines/nixos/web02/cas-eleves/default.nix b/machines/nixos/web02/cas-eleves/default.nix index 8a2dbca..d39a440 100644 --- a/machines/nixos/web02/cas-eleves/default.nix +++ b/machines/nixos/web02/cas-eleves/default.nix @@ -99,8 +99,8 @@ in path = [ pythonEnv ]; script = '' - python3 manage.py loaddata patterns python3 manage.py migrate + python3 manage.py loaddata patterns gunicorn app.wsgi --pythonpath ${sources.cas-eleves} -b 127.0.0.1:${builtins.toString port} --workers=2 --threads=4 ''; };