summaryrefslogtreecommitdiff
path: root/community/xmms2/xmms2d.service
blob: 6adcf207f496c009918e49231dcaec548f33e049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=XMMS2 daemon
After=network.target remote-fs.target nss-lookup.target

[Service]
Type=forking
EnvironmentFile=/etc/conf.d/xmms2d.conf
ExecStart=/bin/su -c '/usr/bin/xmms2-launcher $XMMS2_PARAMETERS &>/dev/null' - $XMMS2_USER
ExecStop=/bin/su -c '/usr/bin/xmms2 quit &>/dev/null' - $XMMS2_USER

[Install]
WantedBy=multi-user.target