]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
services: update PIDFile to point directly to /run
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 26 May 2019 13:16:10 +0000 (15:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 26 May 2019 13:16:15 +0000 (15:16 +0200)
fixes a complaint from system:
> PIDFile= references path below legacy directory /var/run/'

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/pve-ha-crm.service
debian/pve-ha-lrm.service

index ef8cd617288dd35c2abf746599a87026af5411a0..800ce9b8126d15980f9964e068a1539593e98683 100644 (file)
@@ -13,7 +13,7 @@ After=syslog.service
 [Service]
 ExecStart=/usr/sbin/pve-ha-crm start
 ExecStop=/usr/sbin/pve-ha-crm stop
-PIDFile=/var/run/pve-ha-crm.pid
+PIDFile=/run/pve-ha-crm.pid
 TimeoutStopSec=65
 Type=forking
 
index a5278448d0e5c9e93ecab2af9d82acc9cb30b619..024566bbd2df145546c4f49fd517195ae4f3c292 100644 (file)
@@ -19,7 +19,7 @@ After=lxc.service
 [Service]
 ExecStart=/usr/sbin/pve-ha-lrm start
 ExecStop=/usr/sbin/pve-ha-lrm stop
-PIDFile=/var/run/pve-ha-lrm.pid
+PIDFile=/run/pve-ha-lrm.pid
 TimeoutStopSec=infinity
 KillMode=process
 Type=forking