]> git.proxmox.com Git - pve-cluster.git/commitdiff
fix 'PIDFile= references path below legacy directory /var/run/' warning
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Mar 2019 13:50:14 +0000 (14:50 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Mar 2019 13:50:18 +0000 (14:50 +0100)
/var/run is a symlink to /run on stretch and buster, and the systemd
version of buster will annoy one with warnings if /var/run/xyz.pid is
used..

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

index 0aa48cd0d2e01a48c51050cda14798f76d4db0a4..c6f73eedddb6e5653b9cf5d033ad9e444c7647db 100644 (file)
@@ -21,7 +21,7 @@ KillMode=mixed
 Restart=on-failure
 TimeoutStopSec=10
 Type=forking
-PIDFile=/var/run/pve-cluster.pid
+PIDFile=/run/pve-cluster.pid
 
 [Install]
 WantedBy=multi-user.target