From f3ef116c1ded619adaa41d5bf94e414bbabd4a9b Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 3 Jun 2016 23:50:04 +0200 Subject: user/mpd{@,-new}.service: Unifying all template based approaches in mpd@.service. scripts/mpd-pulse: Adding script to start/stop a pax11publish connection to the given host, if it's not an extension of hostname or localhost. --- user/mpd-new.service | 15 --------------- user/mpd@.service | 4 ++-- 2 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 user/mpd-new.service (limited to 'user') diff --git a/user/mpd-new.service b/user/mpd-new.service deleted file mode 100644 index 730bc71..0000000 --- a/user/mpd-new.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=Music Player Daemon -After=network.target sound.target -Conflicts=mpd@.service - -[Service] -ExecStartPre=/usr/bin/mkdir -p %t/mpd -ExecStart=/usr/bin/mpd --no-daemon -CPUSchedulingPolicy=rr -CPUSchedulingPriority=70 -LimitRTPRIO=50 -LimitRTTIME=infinity - -[Install] -WantedBy=default.target diff --git a/user/mpd@.service b/user/mpd@.service index 74fb0a3..643b871 100644 --- a/user/mpd@.service +++ b/user/mpd@.service @@ -6,8 +6,8 @@ Conflicts=mpd.service [Service] ExecStartPre=/usr/bin/mkdir -p %t/mpd ExecStart=/usr/bin/mpd --no-daemon %h/.config/mpd/mpd-%i.conf -ExecStartPost=/usr/bin/pax11publish -S %i -e -ExecStopPost=/usr/bin/pax11publish -r +ExecStartPost=/usr/lib/systemd/scripts/mpd-pulse -c %i +ExecStopPost=/usr/lib/systemd/scripts/mpd-pulse -d %i CPUSchedulingPolicy=rr CPUSchedulingPriority=70 LimitRTPRIO=50 -- cgit v1.2.3