1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/funkwhale_ynh.git synced 2024-09-03 18:36:24 +02:00

Update funkwhale-server.service

This commit is contained in:
Thomas 2023-06-20 09:38:37 +02:00 committed by GitHub
parent 3660440fb7
commit 6328a285df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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