aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-09-14 16:23:20 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-09-14 16:23:20 +0200
commit20adf5d80266998ec64af7eed1e6b1d917ad4494 (patch)
tree33a350968cc462438d63de4279e04a714a8e8433
parent2126ad8a0c21ee273c622f8d09c5a73088a6a44d (diff)
downloadmpd-notification-20adf5d80266998ec64af7eed1e6b1d917ad4494.tar.gz
mpd-notification-20adf5d80266998ec64af7eed1e6b1d917ad4494.tar.zst
make non-system user a condition
-rw-r--r--systemd/mpd-notification.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/mpd-notification.service b/systemd/mpd-notification.service
index 14be4e3..6afa9ba 100644
--- a/systemd/mpd-notification.service
+++ b/systemd/mpd-notification.service
@@ -6,6 +6,7 @@ Description=MPD Notification
# available on start and mpd-notification can cleanly disconnect on
# system shutdown.
After=mpd.service network.target network-online.target
+ConditionUser=!@system
[Service]
Type=notify