summaryrefslogtreecommitdiff
path: root/systemd/user/mpd.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/user/mpd.service.in')
-rw-r--r--systemd/user/mpd.service.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/systemd/user/mpd.service.in b/systemd/user/mpd.service.in
index 12b814c2d..eea52d951 100644
--- a/systemd/user/mpd.service.in
+++ b/systemd/user/mpd.service.in
@@ -7,6 +7,11 @@ After=network.target sound.target
Type=notify
ExecStart=@prefix@/bin/mpd --no-daemon
+# Enable this setting to ask systemd to watch over MPD, see
+# systemd.service(5). This is disabled by default because it causes
+# periodic wakeups which are unnecessary if MPD is not playing.
+#WatchdogSec=120
+
# allow MPD to use real-time priority 50
LimitRTPRIO=50
LimitRTTIME=infinity