parent
597c9ad1e3
commit
216d711660
1 changed files with 2 additions and 1 deletions
|
@ -102,7 +102,8 @@ Type=simple
|
||||||
# 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 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.
|
||||||
# For 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.
|
# Virtual machines without the QEMU guest agent installed must be excluded.
|
||||||
ExecStartPre=/usr/bin/sleep 300 # Sleep for 300 seconds (5 minutes)
|
# Sleep for 300 seconds (5 minutes)
|
||||||
|
ExecStartPre=/usr/bin/sleep 300
|
||||||
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 a new issue