diff options
Diffstat (limited to 'funkwhale-server.service')
-rw-r--r-- | funkwhale-server.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/funkwhale-server.service b/funkwhale-server.service new file mode 100644 index 000000000000..30dcc38b4eb0 --- /dev/null +++ b/funkwhale-server.service @@ -0,0 +1,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 |