Update monitor-all.sh

clarify exclusion instructions
This commit is contained in:
tteckster 2023-05-09 00:23:37 -04:00 committed by GitHub
parent 9c2f48c265
commit 8b1a1f201b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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