Update monitor-all.sh

- disable start delay
- fixes https://github.com/tteck/Proxmox/issues/1919
This commit is contained in:
tteckster 2023-10-14 09:58:39 -04:00 committed by GitHub
parent 359d5a3a48
commit be4d28c141
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,7 +103,7 @@ Type=simple
# 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.
# Sleep for 300 seconds (5 minutes) # Sleep for 300 seconds (5 minutes)
ExecStartPre=/usr/bin/sleep 300 # 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