From: Damyan Ivanov Date: Thu, 23 Dec 2021 07:47:26 +0000 (+0000) Subject: add a hard dependency on postgresql to the systemd service file X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=refs%2Fheads%2Fmain;p=mpd-feeder.git add a hard dependency on postgresql to the systemd service file a proper fix would be to just try again, but for now that would do --- diff --git a/eg/mpd-feeder.service b/eg/mpd-feeder.service index 1b762d0..2e4e0e0 100644 --- a/eg/mpd-feeder.service +++ b/eg/mpd-feeder.service @@ -1,6 +1,8 @@ [Unit] Description=MPD playlist manager ConditionPathExists=/etc/mpd-feeder/mpd-feeder.conf +Requires=postgresql.service +After=postgresql.service [Service] Type=notify