summarylogtreecommitdiffstats
path: root/funkwhale-server.service
diff options
context:
space:
mode:
Diffstat (limited to 'funkwhale-server.service')
-rw-r--r--funkwhale-server.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/funkwhale-server.service b/funkwhale-server.service
index 30dcc38b4eb0..0bbfb7f695d5 100644
--- a/funkwhale-server.service
+++ b/funkwhale-server.service
@@ -8,7 +8,8 @@ User=funkwhale
# adapt this depending on the path of your funkwhale installation
WorkingDirectory=/usr/share/webapps/funkwhale/api
EnvironmentFile=/srv/funkwhale/config/env
-ExecStart=/usr/bin/daphne -b ${FUNKWHALE_API_IP} -p ${FUNKWHALE_API_PORT} config.asgi:application --proxy-headers
+ExecStart=/usr/bin/gunicorn config.asgi:application -w ${FUNKWHALE_WEB_WORKERS} -k uvicorn.workers.UvicornWorker -b ${FUNKWHALE_API_IP}:${FUNKWHALE_API_PORT}
+#ExecStart=/usr/bin/daphne -b ${FUNKWHALE_API_IP} -p ${FUNKWHALE_API_PORT} config.asgi:application --proxy-headers
[Install]
WantedBy=multi-user.target