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
|
2018-04-28 14:17:29 +00:00
|
|
|
ExecStart=/srv/funkwhale/virtualenv/bin/daphne -b ${FUNKWHALE_API_IP} -p ${FUNKWHALE_API_PORT} config.asgi:application --proxy-headers
|
2017-07-17 20:00:32 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|