From: Damyan Ivanov Date: Fri, 26 Nov 2021 08:09:55 +0000 (+0000) Subject: more systemd: require config file, run as a separate user, install X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=6ddd8c2ceb96da5a749baae677dd75bb01d4d6ae;p=mpd-feeder.git more systemd: require config file, run as a separate user, install --- diff --git a/eg/mpd-feeder.service b/eg/mpd-feeder.service index 22ff100..07a28d2 100644 --- a/eg/mpd-feeder.service +++ b/eg/mpd-feeder.service @@ -1,5 +1,10 @@ [Unit] Description=MPD playlist manager +ConditionPathExists=/etc/mpd-feeder/mpd-feeder.conf [Service] +User=mpd-feeder Exec=/usr/bin/mpd-feeder + +[Install] +WantedBy=multi-user.target