diff --git a/conf/funkwhale-server.service b/conf/funkwhale-server.service index 3d38df0..8f8e022 100644 --- a/conf/funkwhale-server.service +++ b/conf/funkwhale-server.service @@ -6,7 +6,6 @@ PartOf=__APP__.target [Service] User=__APP__ Group=__APP__ -StandardOutput=append:/var/log/__APP__/__APP__-server.log WorkingDirectory=__INSTALL_DIR__/api EnvironmentFile=__INSTALL_DIR__/config/.env @@ -16,7 +15,8 @@ ExecStart=__INSTALL_DIR__/venv/bin/gunicorn \ config.asgi:application \ --workers ${FUNKWHALE_WEB_WORKERS} \ --worker-class uvicorn.workers.UvicornWorker \ - --bind ${FUNKWHALE_API_IP}:${FUNKWHALE_API_PORT} + --bind ${FUNKWHALE_API_IP}:${FUNKWHALE_API_PORT} \ + --timeout 120 ExecReload=/bin/kill -s HUP $MAINPID