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:
parent
3660440fb7
commit
6328a285df
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,6 @@ PartOf=__APP__.target
|
||||||
[Service]
|
[Service]
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
StandardOutput=append:/var/log/__APP__/__APP__-server.log
|
|
||||||
WorkingDirectory=__INSTALL_DIR__/api
|
WorkingDirectory=__INSTALL_DIR__/api
|
||||||
EnvironmentFile=__INSTALL_DIR__/config/.env
|
EnvironmentFile=__INSTALL_DIR__/config/.env
|
||||||
|
|
||||||
|
@ -16,7 +15,8 @@ ExecStart=__INSTALL_DIR__/venv/bin/gunicorn \
|
||||||
config.asgi:application \
|
config.asgi:application \
|
||||||
--workers ${FUNKWHALE_WEB_WORKERS} \
|
--workers ${FUNKWHALE_WEB_WORKERS} \
|
||||||
--worker-class uvicorn.workers.UvicornWorker \
|
--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
|
ExecReload=/bin/kill -s HUP $MAINPID
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue