5
0
mirror of git://git.proxmox.com/git/pve-ha-manager.git synced 2025-01-06 17:18:00 +03:00
pve-ha-manager/debian/pve-ha-lrm.service
Thomas Lamprecht 1694ce69f9 lrm.service: add after ordering for SSH and pveproxy
To avoid early disconnect during shutdown ensure we order After them,
for shutdown the ordering is reversed and so we're stopped before
those two - this allows to checkout the node stats and do SSH stuff
if something fails.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-11-25 19:48:34 +01:00

31 lines
675 B
Desktop File

[Unit]
Description=PVE Local HA Resource 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=corosync.service
After=lxc.service
After=pve-cluster.service
After=pve-ha-crm.service
After=pve-storage.target
After=pvedaemon.service
After=pveproxy.service
After=ssh.service
After=syslog.service
After=watchdog-mux.service
[Service]
ExecStart=/usr/sbin/pve-ha-lrm start
ExecStop=/usr/sbin/pve-ha-lrm stop
PIDFile=/run/pve-ha-lrm.pid
TimeoutStopSec=infinity
KillMode=process
Type=forking
[Install]
WantedBy=multi-user.target