]> git.proxmox.com Git - pve-ha-manager.git/blame - debian/pve-ha-lrm.service
d/postinst: fix restarting LRM/CRM when triggered
[pve-ha-manager.git] / debian / pve-ha-lrm.service
CommitLineData
df5743bd 1[Unit]
993af428 2Description=PVE Local HA Resource Manager Daemon
df5743bd 3ConditionPathExists=/usr/sbin/pve-ha-lrm
6d09288c
DM
4Wants=pve-cluster.service
5Wants=watchdog-mux.service
df5743bd 6Wants=pvedaemon.service
622cb56a 7Wants=pve-ha-crm.service
9c042d02 8Wants=lxc.service
2f549281 9Wants=pve-storage.target
622cb56a 10After=corosync.service
54d808ad
TL
11After=lxc.service
12After=pve-cluster.service
13After=pve-ha-crm.service
14After=pve-storage.target
df5743bd 15After=pvedaemon.service
1694ce69
TL
16After=pveproxy.service
17After=ssh.service
622cb56a 18After=syslog.service
54d808ad 19After=watchdog-mux.service
df5743bd
DM
20
21[Service]
22ExecStart=/usr/sbin/pve-ha-lrm start
23ExecStop=/usr/sbin/pve-ha-lrm stop
b9828b75 24PIDFile=/run/pve-ha-lrm.pid
2fb6fcd3 25TimeoutStopSec=infinity
3184ff8f 26KillMode=process
df5743bd
DM
27Type=forking
28
29[Install]
30WantedBy=multi-user.target