Evolution of deployment
This commit is contained in:
1
roles/Sharingan/files/monit/hostdefs/Node1
Normal file
1
roles/Sharingan/files/monit/hostdefs/Node1
Normal file
@@ -0,0 +1 @@
|
||||
include "/etc/monit.d/checks/system"
|
1
roles/Sharingan/files/monit/hostdefs/Node2
Normal file
1
roles/Sharingan/files/monit/hostdefs/Node2
Normal file
@@ -0,0 +1 @@
|
||||
include "/etc/monit.d/checks/system"
|
1
roles/Sharingan/files/monit/hostdefs/Node3
Normal file
1
roles/Sharingan/files/monit/hostdefs/Node3
Normal file
@@ -0,0 +1 @@
|
||||
include "/etc/monit.d/checks/system"
|
@@ -2,7 +2,7 @@
|
||||
Description=AniNIX/Sharingan | Heartbeat service
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/bash -c 'systemd-cat -t sharingan-heartbeat echo `systemctl is-system-running`'
|
||||
ExecStart=/bin/bash -c 'systemd-cat -t sharingan-heartbeat echo `systemctl is-system-running` - `systemctl is-active sharingan-eval.service`'
|
||||
Type=oneshot
|
||||
RemainAfterExit=no
|
||||
User=root
|
||||
|
Reference in New Issue
Block a user