5
0
mirror of git://git.proxmox.com/git/pve-ha-manager.git synced 2025-03-09 12:58:16 +03:00
pve-ha-manager/debian/pve-ha-crm.service
Dietmar Maurer 6d09288cf9 use Wants instead of Requires inside systemd service definitions
To avoid unnecessary restarts of dependent services.
2015-06-09 09:32:15 +02:00

22 lines
479 B
Desktop File

[Unit]
Description=PVE Cluster Ressource Manager Daemon
ConditionPathExists=/usr/sbin/pve-ha-crm
Wants=pve-cluster.service
Wants=watchdog-mux.service
Wants=pvedaemon.service
After=pve-cluster.service
After=corosync.service
After=pvedaemon.service
After=watchdog-mux.service
After=syslog.service
[Service]
ExecStart=/usr/sbin/pve-ha-crm start
ExecStop=/usr/sbin/pve-ha-crm stop
PIDFile=/var/run/pve-ha-crm.pid
TimeoutStopSec=65
Type=forking
[Install]
WantedBy=multi-user.target