]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
use Wants instead of Requires inside systemd service definitions
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 9 Jun 2015 07:32:15 +0000 (09:32 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 9 Jun 2015 07:32:15 +0000 (09:32 +0200)
To avoid unnecessary restarts of dependent services.

debian/pve-ha-crm.service
debian/pve-ha-lrm.service

index 58890558e62306e86a31bf7d7806c3dac4c67cf5..ef8cd617288dd35c2abf746599a87026af5411a0 100644 (file)
@@ -1,8 +1,8 @@
 [Unit]
 Description=PVE Cluster Ressource Manager Daemon
 ConditionPathExists=/usr/sbin/pve-ha-crm
-Requires=pve-cluster.service
-Requires=watchdog-mux.service
+Wants=pve-cluster.service
+Wants=watchdog-mux.service
 Wants=pvedaemon.service
 After=pve-cluster.service
 After=corosync.service
index 27375bd98f6150f578a976fe6aac8cd045e0fa72..20bb5fab5bcd49df1169346566289bb5b7aa0053 100644 (file)
@@ -1,8 +1,8 @@
 [Unit]
 Description=PVE Local HA Ressource Manager Daemon
 ConditionPathExists=/usr/sbin/pve-ha-lrm
-Requires=pve-cluster.service
-Requires=watchdog-mux.service
+Wants=pve-cluster.service
+Wants=watchdog-mux.service
 Wants=pvedaemon.service
 Wants=pve-ha-crm.service
 After=pve-ha-crm.service