aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/mpd-notification.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/mpd-notification.service')
-rw-r--r--systemd/mpd-notification.service7
1 files changed, 6 insertions, 1 deletions
diff --git a/systemd/mpd-notification.service b/systemd/mpd-notification.service
index c377c90..2e907df 100644
--- a/systemd/mpd-notification.service
+++ b/systemd/mpd-notification.service
@@ -1,6 +1,11 @@
[Unit]
Description=MPD Notification
-Requires=mpd.service
+# Do not require any service here! We do rely on mpd OR network (for
+# a remote mpd instance). So let the user care.
+# We want to order after, though. This makes sure the resource is
+# available on start and mpd-notification can cleanly disconnect on
+# system shutdown.
+After=mpd.service network.target network-online.target
[Service]
Type=simple