Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Headphones systemd
[Unit]
Description=Headphones Daemon
[Service]
EnvironmentFile=/etc/conf.d/headphones_systemd
ExecStart=/usr/bin/headphones -q -d --config ${CONF} --port ${PORT}
GuessMainPID=no
Type=forking
User=headphones
Group=headphones
[Install]
WantedBy=multi-user.target
PORT="8181"
CONF="/opt/headphones/config.ini"
@mattprecious

This works for me. I don't guarantee that it works for you.

It throws a fit if I use a variable for User and Group, no idea why. Edit as you see fit.

Files:
/usr/lib/systemd/system/headphones.service
/etc/conf.d/headphones_systemd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.