5
0
mirror of git://git.proxmox.com/git/pve-ha-manager.git synced 2025-03-09 12:58:16 +03:00

services: update PIDFile to point directly to /run

fixes a complaint from system:
> PIDFile= references path below legacy directory /var/run/'

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-05-26 15:16:10 +02:00
parent e7958dd420
commit b9828b7552
2 changed files with 2 additions and 2 deletions

View 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

View 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