X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=monit-cn%2Fntp-server.conf;fp=monit-cn%2Fntp-server.conf;h=b4aaa97a9d59f1e9aa5567cd91201c5ce5fc7994;hb=8ba7781b74fcf9df3120f60247edb064712d3614;hp=0000000000000000000000000000000000000000;hpb=01c4cba5a887c7f6c52109d47355bd593fc66b60;p=monit-cn.git diff --git a/monit-cn/ntp-server.conf b/monit-cn/ntp-server.conf new file mode 100644 index 0000000..b4aaa97 --- /dev/null +++ b/monit-cn/ntp-server.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 process ntpd with pidfile "/var/run/ntpd.pid" + start program = "/etc/init.d/ntp-server start" + stop program = "/etc/init.d/ntp-server stop" + if failed host 127.0.0.1 port 123 type udp + then restart