summarylogtreecommitdiffstats
path: root/headphones-system.service
diff options
context:
space:
mode:
Diffstat (limited to 'headphones-system.service')
-rw-r--r--headphones-system.service6
1 files changed, 3 insertions, 3 deletions
diff --git a/headphones-system.service b/headphones-system.service
index e0c8766c7a80..e4d0d5138021 100644
--- a/headphones-system.service
+++ b/headphones-system.service
@@ -4,9 +4,9 @@ After=network.target
[Service]
User=headphones
-Type=forking
-PIDFile=/run/headphones/headphones.pid
-ExecStart=/usr/bin/env python2 /opt/headphones/Headphones.py -q --daemon --nolaunch --pidfile=/run/headphones/headphones.pid --config /opt/headphones/config.ini --datadir /opt/headphones
+Group=headphones
+Type=simple
+ExecStart=/usr/bin/python2 /usr/lib/headphones/Headphones.py --nolaunch --config /var/lib/headphones/config.ini --datadir /var/lib/headphones
[Install]
WantedBy=multi-user.target