From b277b16fadc9d0b04045711cee94073efa1355c6 Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Tue, 6 Mar 2018 18:45:25 +0100
Subject: [PATCH] Fixed wrong virtualenv path in unit file

---
 deploy/funkwhale-server.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deploy/funkwhale-server.service b/deploy/funkwhale-server.service
index 0027a80a..53d3a104 100644
--- a/deploy/funkwhale-server.service
+++ b/deploy/funkwhale-server.service
@@ -8,7 +8,7 @@ User=funkwhale
 # adapt this depending on the path of your funkwhale installation
 WorkingDirectory=/srv/funkwhale/api
 EnvironmentFile=/srv/funkwhale/config/.env
-ExecStart=/usr/local/bin/daphne -b ${FUNKWHALE_API_IP} -p ${FUNKWHALE_API_PORT} config.asgi:application
+ExecStart=/srv/funkwhale/virtualenv/bin/daphne -b ${FUNKWHALE_API_IP} -p ${FUNKWHALE_API_PORT} config.asgi:application
 
 [Install]
 WantedBy=multi-user.target
-- 
GitLab