summarylogtreecommitdiffstats
path: root/funkwhale-server.service
blob: 30dcc38b4eb07dcd2b96e5e5d4ac731d416bba9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Funkwhale application server
After=redis.service postgresql.service
PartOf=funkwhale.service

[Service]
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

[Install]
WantedBy=multi-user.target