]> git.proxmox.com Git - mirror_corosync.git/commitdiff
Make systemd stop corosync-notifyd if corosync is stopped
authorFerenc Wágner <wferi@debian.org>
Mon, 30 Oct 2017 21:12:09 +0000 (22:12 +0100)
committerJan Friesse <jfriesse@redhat.com>
Thu, 9 Nov 2017 08:49:42 +0000 (09:49 +0100)
Otherwise is just exits successfully (which should probably be fixed
eventually), leading to confusion.

Signed-off-by: Ferenc Wágner <wferi@debian.org>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
init/corosync-notifyd.service.in

index f74ca330b1cd9a1da4d272a1dd059b24021d5e25..bf7de6b59145a521d7945bd2b66cca42f1afdc52 100644 (file)
@@ -1,7 +1,7 @@
 [Unit]
 Description=Corosync Dbus and snmp notifier
 Documentation=man:corosync-notifyd
-Wants=corosync.service
+Requires=corosync.service
 After=corosync.service
 
 [Service]