diff --git a/.deploy/surfcams.service b/.deploy/surfcams.service index 1827791..93a5944 100644 --- a/.deploy/surfcams.service +++ b/.deploy/surfcams.service @@ -7,7 +7,7 @@ Type=simple Restart=always RestartSec=1 WorkingDirectory=/var/apps/surfcams -ExecStart=/var/apps/surfcams/.venv/bin/surfcamsapi.asgi:application +ExecStart=/var/apps/surfcams/.venv/bin/gunicorn surfcamsapi.asgi:application ExecReload=/bin/kill -s HUP $MAINPID ExecStop=/bin/kill -s TERM $MANPID User=anze