From 216d7116601d9b594235dad35b69f3b65a822494 Mon Sep 17 00:00:00 2001 From: h-4-t <65722138+h-4-t@users.noreply.github.com> Date: Wed, 4 Oct 2023 12:11:30 +0100 Subject: [PATCH] Update monitor-all.sh (#1881) Fix service file --- misc/monitor-all.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/monitor-all.sh b/misc/monitor-all.sh index 02d0b696..f7e74dcf 100644 --- a/misc/monitor-all.sh +++ b/misc/monitor-all.sh @@ -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. # For example: ExecStart=/usr/local/bin/ping-instances.sh 100 102 # 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 Restart=always StandardOutput=file:/var/log/ping-instances.log