diff options
Diffstat (limited to 'flora')
-rw-r--r-- | flora/services/monit.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/flora/services/monit.nix b/flora/services/monit.nix index 28a0503..72d6837 100644 --- a/flora/services/monit.nix +++ b/flora/services/monit.nix @@ -53,6 +53,9 @@ if failed port 443 with protocol https then alert + check program system path ${pkgs.systemd}/bin/systemctl is-system-running + if status != 0 then alert + set mail-format { subject: $SERVICE: $EVENT message: Action: $ACTION $SERVICE: $DESCRIPTION. |