5
0
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:
Dietmar Maurer 2015-03-10 11:24:06 +01:00
parent 5ce9f244f4
commit b1aac24306
2 changed files with 17 additions and 0 deletions

16
debian/pve-ha-crm.service vendored Normal file
View 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
View File

@ -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