- novi Aosi template zbog promjena naziva init skripte
authorDinko Korunic <kreator@carnet.hr>
Wed, 15 Feb 2012 09:50:02 +0000 (10:50 +0100)
committerDinko Korunic <kreator@carnet.hr>
Wed, 15 Feb 2012 09:50:02 +0000 (10:50 +0100)
monit-cn/aosi-old.conf [new file with mode: 0644]
monit-cn/aosi.conf

diff --git a/monit-cn/aosi-old.conf b/monit-cn/aosi-old.conf
new file mode 100644 (file)
index 0000000..52d0ead
--- /dev/null
@@ -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
index 52d0ead..1f31c98 100644 (file)
@@ -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