]> git.ktnx.net Git - mpd-feeder.git/commitdiff
add a hard dependency on postgresql to the systemd service file main
authorDamyan Ivanov <dmn@debian.org>
Thu, 23 Dec 2021 07:47:26 +0000 (07:47 +0000)
committerDamyan Ivanov <dmn@debian.org>
Thu, 23 Dec 2021 07:47:26 +0000 (07:47 +0000)
a proper fix would be to just try again, but for now that would do

eg/mpd-feeder.service

index 1b762d01d53b0936c0f84c8eee7ba45b4e4565f1..2e4e0e0955cf790a2c403ca9f1b385735b230f6a 100644 (file)
@@ -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