r14: - depend o novijem monitu
[monit-cn.git] / monit-cn / freeradius.conf
index 4fc3ac1..eb2bdcd 100644 (file)
@@ -2,4 +2,8 @@
 
 check freeradius with pidfile "/var/run/freeradius/freeradius.pid"
     start program = "/etc/init.d/freeradius start"
-    stop program  = "/etc/init.d/freeradius stop"
+    stop program = "/etc/init.d/freeradius stop"
+    if failed host 127.0.0.1 port 1812 type udp
+        then restart
+    #if failed host 127.0.0.1 port 1813 type udp
+    #    then restart