- maknute grupe iz predlozaka konfiguracija
[monit-cn.git] / monit-cn / ntp.conf
similarity index 67%
rename from monit-cn/ntpd.conf
rename to monit-cn/ntp.conf
index c8640ca..bb3cb29 100644 (file)
@@ -6,5 +6,7 @@
 ## End - Generated by CARNet package monit-cn
 
 check process ntpd with pidfile "/var/run/ntpd.pid"
-    start program = "/etc/init.d/ntpd start"
-    stop program = "/etc/init.d/ntpd stop"
+    start program = "/etc/init.d/ntp start"
+    stop program = "/etc/init.d/ntp stop"
+       if failed host 127.0.0.1 port 123 type udp
+               then restart