aboutsummaryrefslogtreecommitdiffstats
path: root/user/mpd@.service
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-06-03 23:50:04 +0200
committerDavid Runge <dave@sleepmap.de>2016-06-03 23:50:04 +0200
commitf3ef116c1ded619adaa41d5bf94e414bbabd4a9b (patch)
tree81afadbf24d5fb4dfdd1aba1d4291104f0937ae0 /user/mpd@.service
parentc44c182f3a75f60d4884359c5bd2782468ee72bc (diff)
downloaduenv-f3ef116c1ded619adaa41d5bf94e414bbabd4a9b.tar.gz
uenv-f3ef116c1ded619adaa41d5bf94e414bbabd4a9b.tar.bz2
uenv-f3ef116c1ded619adaa41d5bf94e414bbabd4a9b.tar.xz
uenv-f3ef116c1ded619adaa41d5bf94e414bbabd4a9b.zip
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.
Diffstat (limited to 'user/mpd@.service')
-rw-r--r--user/mpd@.service4
1 files changed, 2 insertions, 2 deletions
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