From c690cf8336b1054f8164f0a9225989a725809ae2 Mon Sep 17 00:00:00 2001 From: Dinko Korunic Date: Wed, 15 Feb 2012 10:50:02 +0100 Subject: [PATCH] - novi Aosi template zbog promjena naziva init skripte --- monit-cn/aosi-old.conf | 12 ++++++++++++ monit-cn/aosi.conf | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 monit-cn/aosi-old.conf diff --git a/monit-cn/aosi-old.conf b/monit-cn/aosi-old.conf new file mode 100644 index 0000000..52d0ead --- /dev/null +++ b/monit-cn/aosi-old.conf @@ -0,0 +1,12 @@ +## Begin - Generated by CARNet package monit-cn +# +# This is a monit-cn template file. REMOVE this whole comment block if +# you DON'T WANT monit-cn to edit/remove/delete your configuration file. +# +## End - Generated by CARNet package monit-cn + +check aosi with pidfile "/var/run/aosi/aosi.pid" + start program = "/etc/init.d/aosi start" + stop program = "/etc/init.d/aosi stop" + if failed host 127.0.0.1 port 1443 type tcp + then restart diff --git a/monit-cn/aosi.conf b/monit-cn/aosi.conf index 52d0ead..1f31c98 100644 --- a/monit-cn/aosi.conf +++ b/monit-cn/aosi.conf @@ -6,7 +6,7 @@ ## End - Generated by CARNet package monit-cn check aosi with pidfile "/var/run/aosi/aosi.pid" - start program = "/etc/init.d/aosi start" - stop program = "/etc/init.d/aosi stop" + start program = "/etc/init.d/aosi-aai start" + stop program = "/etc/init.d/aosi-aai stop" if failed host 127.0.0.1 port 1443 type tcp then restart -- 1.7.10.4