2017-07-17 20:00:32 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Funkwhale application server
|
|
|
|
After=redis.service postgresql.service
|
|
|
|
PartOf=funkwhale.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=funkwhale
|
|
|
|
# adapt this depending on the path of your funkwhale installation
|
|
|
|
WorkingDirectory=/srv/funkwhale/api
|
|
|
|
EnvironmentFile=/srv/funkwhale/config/.env
|
2019-06-19 08:26:09 +00:00
|
|
|
ExecStart=/srv/funkwhale/virtualenv/bin/gunicorn config.asgi:application -w ${FUNKWHALE_WEB_WORKERS} -k uvicorn.workers.UvicornWorker -b ${FUNKWHALE_API_IP}:${FUNKWHALE_API_PORT}
|
2017-07-17 20:00:32 +00:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|