|
|
@ -93,7 +93,7 @@ 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, |
|
|
|
# Include the CT/VM ID at the end of the line where ExecStart=/usr/local/bin/ping-instances.sh is specified, |
|
|
|
# to indicate which CT/VN should be excluded. Example: ExecStart=/usr/local/bin/ping-instances.sh 100 102 |
|
|
|
# to indicate which CT/VM should be excluded. Example: ExecStart=/usr/local/bin/ping-instances.sh 100 102 |
|
|
|
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 |
|
|
|