summarylogtreecommitdiffstats
path: root/headphones.service
diff options
context:
space:
mode:
Diffstat (limited to 'headphones.service')
-rw-r--r--headphones.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/headphones.service b/headphones.service
new file mode 100644
index 000000000000..e4d0d5138021
--- /dev/null
+++ b/headphones.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Headphones Daemon
+After=network.target
+
+[Service]
+User=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