5
0
mirror of git://git.proxmox.com/git/pve-ha-manager.git synced 2025-01-09 01:18:05 +03:00
pve-ha-manager/debian/pve-ha-lrm.service
Thomas Lamprecht 2fb6fcd318 lrm.service: do not timeout on stop
we must shut all services down when stopping the LRM for a host
shutdown, this can take longer than 95 seconds and should not
get interrupted to ensure a gracefull poweroff.

The watchdog is still active untill all services got stopped so we
still are safe from a freeze or equivalent failure.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-10-13 10:37:15 +02:00

29 lines
639 B
Desktop File

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