From 908b7c065638f1431cffbedf4dd3fe77bf8816cc Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Thu, 22 Oct 2015 12:34:03 -0500 Subject: xmms2: add new package to [libre] --- libre/xmms2/system.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 libre/xmms2/system.service (limited to 'libre/xmms2/system.service') diff --git a/libre/xmms2/system.service b/libre/xmms2/system.service new file mode 100644 index 000000000..f3e524d4e --- /dev/null +++ b/libre/xmms2/system.service @@ -0,0 +1,17 @@ +[Unit] +Description=XMMS2 daemon +Documentation=man:xmms2-launcher(1) man:xmms2d(1) +Wants=fluidsynth.service +After=fluidsynth.service network.target sound.target + +[Service] +Type=forking +User=xmms2 +# Trick xmms2d into correctly using /var/lib/xmms2 for its configuration +Environment=XDG_CONFIG_HOME=/var/lib +PIDFile=%t/xmms2/xmms2d.pid +ExecStart=/usr/bin/xmms2-launcher -l /var/log/xmms2d.log -P %t/xmms2/xmms2d.pid +ExecStop=/usr/bin/xmms2 server shutdown + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3