diff options
Diffstat (limited to 'headphones-system.service')
-rw-r--r-- | headphones-system.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/headphones-system.service b/headphones-system.service new file mode 100644 index 000000000000..e0c8766c7a80 --- /dev/null +++ b/headphones-system.service @@ -0,0 +1,12 @@ +[Unit] +Description=Headphones Daemon +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 + +[Install] +WantedBy=multi-user.target |