]> git.0d.be Git - panikweb.git/commitdiff
debian: adapt systemd service with correct runtime directory and dependencies
authorFrédéric Péters <fpeters@0d.be>
Sat, 1 Oct 2022 15:01:04 +0000 (17:01 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sat, 1 Oct 2022 15:01:04 +0000 (17:01 +0200)
debian/panikweb.service

index c349963115d06de2080a1df26f46fc7be865b319..a91f6713f644ad5912aabaf3aaaa82fd73b173a6 100644 (file)
@@ -1,6 +1,7 @@
 [Unit]
 Description=PanikWeb
-After=network.target
+After=network.target syslog.target postgresql.service
+Wants=postgresql.service
 
 [Service]
 Environment=LANG=C.UTF-8
@@ -16,7 +17,7 @@ KillSignal=SIGQUIT
 TimeoutStartSec=0
 PrivateTmp=true
 Restart=on-failure
-RuntimeDirectory=panikdb
+RuntimeDirectory=panikweb
 Type=notify
 NotifyAccess=all