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