From aed9984a715cec36b3ded830baece0ffd0082dd3 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 25 Feb 2019 14:49:05 +0100 Subject: [PATCH 1/3] Adding notifications --- check_process | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_process b/check_process index 62f1ad6..71244de 100644 --- a/check_process +++ b/check_process @@ -35,5 +35,5 @@ Level 9=0 Level 10=0 ;;; Options -Email= -Notification=none +Email=yalh@yahoo.com +Notification=change From a02c6d47023fe1efc3f7605cf1cc8a22b2d941ce Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 25 Feb 2019 14:55:47 +0100 Subject: [PATCH 2/3] Add notifications --- check_process | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_process b/check_process index 71244de..d771fb6 100644 --- a/check_process +++ b/check_process @@ -36,4 +36,4 @@ Level 10=0 ;;; Options Email=yalh@yahoo.com -Notification=change +Notification=yes From 54e4b7e1289f191b8db78273084ecb123b1c0ef6 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 27 Feb 2019 22:24:34 +0100 Subject: [PATCH 3/3] Fix restore --- scripts/restore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index f862feb..7200421 100644 --- a/scripts/restore +++ b/scripts/restore @@ -145,6 +145,8 @@ systemctl reload nginx ynh_systemd_action --action=start --service_name=$app --log_path=systemd +sleep 0 + #================================================= # END OF SCRIPT #=================================================