mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-09 10:39:41 +00:00
add PIDFile option for systemd services
This commit is contained in:
parent
42a55af27b
commit
196d369060
@ -8,6 +8,7 @@ After=pve-cluster.service
|
|||||||
ExecStart=/usr/bin/pvedaemon start
|
ExecStart=/usr/bin/pvedaemon start
|
||||||
ExecStop=/usr/bin/pvedaemon stop
|
ExecStop=/usr/bin/pvedaemon stop
|
||||||
ExecReload=/usr/bin/pvedaemon restart
|
ExecReload=/usr/bin/pvedaemon restart
|
||||||
|
PIDFile=/var/run/pvedaemon.pid
|
||||||
Type=forking
|
Type=forking
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -10,6 +10,7 @@ After=pvedaemon.service
|
|||||||
ExecStart=/usr/bin/pveproxy start
|
ExecStart=/usr/bin/pveproxy start
|
||||||
ExecStop=/usr/bin/pveproxy stop
|
ExecStop=/usr/bin/pveproxy stop
|
||||||
ExecReload=/usr/bin/pveproxy restart
|
ExecReload=/usr/bin/pveproxy restart
|
||||||
|
PIDFile=/var/run/pveproxy/pveproxy.pid
|
||||||
Type=forking
|
Type=forking
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -8,6 +8,7 @@ After=pve-cluster.service
|
|||||||
ExecStart=/usr/bin/pvestatd start
|
ExecStart=/usr/bin/pvestatd start
|
||||||
ExecStop=/usr/bin/pvestatd stop
|
ExecStop=/usr/bin/pvestatd stop
|
||||||
ExecReload=/usr/bin/pvestatd restart
|
ExecReload=/usr/bin/pvestatd restart
|
||||||
|
PIDFile=/var/run/pvestatd.pid
|
||||||
Type=forking
|
Type=forking
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -8,6 +8,7 @@ After=pveproxy.service
|
|||||||
ExecStart=/usr/bin/spiceproxy start
|
ExecStart=/usr/bin/spiceproxy start
|
||||||
ExecStop=/usr/bin/spiceproxy stop
|
ExecStop=/usr/bin/spiceproxy stop
|
||||||
ExecReload=/usr/bin/spiceproxy restart
|
ExecReload=/usr/bin/spiceproxy restart
|
||||||
|
PIDFile=/var/run/pveproxy/spiceproxy.pid
|
||||||
Type=forking
|
Type=forking
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user