summaryrefslogtreecommitdiff
path: root/libre/xmms2/user.service
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-10-22 12:34:03 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-10-22 12:34:03 -0500
commit908b7c065638f1431cffbedf4dd3fe77bf8816cc (patch)
treef126ea2d4849cefadc8af2ab7a7012944bdc9799 /libre/xmms2/user.service
parent388247147d50b30ad39c7716d1d815f1439c1d9b (diff)
downloadabslibre-908b7c065638f1431cffbedf4dd3fe77bf8816cc.tar.gz
abslibre-908b7c065638f1431cffbedf4dd3fe77bf8816cc.tar.bz2
abslibre-908b7c065638f1431cffbedf4dd3fe77bf8816cc.zip
xmms2: add new package to [libre]
Diffstat (limited to 'libre/xmms2/user.service')
-rw-r--r--libre/xmms2/user.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/xmms2/user.service b/libre/xmms2/user.service
new file mode 100644
index 000000000..dc27ad150
--- /dev/null
+++ b/libre/xmms2/user.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=XMMS2 daemon
+Documentation=man:xmms2-launcher(1) man:xmms2d(1)
+After=network.target sound.target
+
+[Service]
+Type=forking
+PIDFile=%t/xmms2d.pid
+ExecStart=/usr/bin/xmms2-launcher -P %t/xmms2d.pid
+ExecStop=/usr/bin/xmms2 server shutdown
+
+[Install]
+WantedBy=default.target