mirror of
git://git.proxmox.com/git/pve-ha-manager.git
synced 2025-01-09 01:18:05 +03:00
add systemd service for pve-ha-crm
This commit is contained in:
parent
5ce9f244f4
commit
b1aac24306
16
debian/pve-ha-crm.service
vendored
Normal file
16
debian/pve-ha-crm.service
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=PVE Cluster Ressource Manager Daemon
|
||||
ConditionPathExists=/usr/sbin/pve-ha-crm
|
||||
Requires=pve-cluster.service
|
||||
Wants=pvedaemon.service
|
||||
After=pve-cluster.service
|
||||
After=pvedaemon.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/pve-ha-crm start
|
||||
ExecStop=/usr/sbin/pve-ha-crm stop
|
||||
PIDFile=/var/run/pve-ha-crm.pid
|
||||
Type=forking
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
1
debian/rules
vendored
1
debian/rules
vendored
@ -15,3 +15,4 @@
|
||||
override_dh_systemd_enable:
|
||||
|
||||
dh_systemd_enable -ppve-ha-manager --name watchdog-mux
|
||||
dh_systemd_enable -ppve-ha-manager --name pve-ha-crm
|
||||
|
Loading…
Reference in New Issue
Block a user