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 11:03:21 +02:00
parent fcb8022169
commit 4f1b4dd706
4 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ After=corosync.service pve-cluster.service
ExecStart=/usr/bin/pvedaemon start
ExecStop=/usr/bin/pvedaemon stop
ExecReload=/usr/bin/pvedaemon restart
PIDFile=/var/run/pvedaemon.pid
PIDFile=/run/pvedaemon.pid
Type=forking
[Install]

View File

@ -14,7 +14,7 @@ After=ssh.service
ExecStart=/usr/bin/pveproxy start
ExecStop=/usr/bin/pveproxy stop
ExecReload=/usr/bin/pveproxy restart
PIDFile=/var/run/pveproxy/pveproxy.pid
PIDFile=/run/pveproxy/pveproxy.pid
Type=forking
[Install]

View File

@ -8,7 +8,7 @@ After=pve-cluster.service
ExecStart=/usr/bin/pvestatd start
ExecStop=/usr/bin/pvestatd stop
ExecReload=/usr/bin/pvestatd restart
PIDFile=/var/run/pvestatd.pid
PIDFile=/run/pvestatd.pid
Type=forking
[Install]

View File

@ -8,7 +8,7 @@ After=pveproxy.service
ExecStart=/usr/bin/spiceproxy start
ExecStop=/usr/bin/spiceproxy stop
ExecReload=/usr/bin/spiceproxy restart
PIDFile=/var/run/pveproxy/spiceproxy.pid
PIDFile=/run/pveproxy/spiceproxy.pid
Type=forking
[Install]