mirror of https://github.com/tteck/Proxmox.git
parent
9c2f48c265
commit
8b1a1f201b
|
@ -92,8 +92,9 @@ Description=Ping instances every 5 minutes and restarts if necessary
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
# Include the CT/VM ID at the end of the line where ExecStart=/usr/local/bin/ping-instances.sh is specified,
|
# To specify which CT/VM should be excluded, add the CT/VM ID at the end of the line where ExecStart=/usr/local/bin/ping-instances.sh is specified.
|
||||||
# to indicate which CT/VM should be excluded. Example: ExecStart=/usr/local/bin/ping-instances.sh 100 102
|
# For example: ExecStart=/usr/local/bin/ping-instances.sh 100 102
|
||||||
|
# Virtual machines without the QEMU guest agent installed must be excluded.
|
||||||
ExecStart=/usr/local/bin/ping-instances.sh
|
ExecStart=/usr/local/bin/ping-instances.sh
|
||||||
Restart=always
|
Restart=always
|
||||||
StandardOutput=file:/var/log/ping-instances.log
|
StandardOutput=file:/var/log/ping-instances.log
|
||||||
|
|
Loading…
Reference in New Issue