projects
/
monit-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r20: - fixups
[monit-cn.git]
/
monit-cn
/
freeradius.conf
diff --git
a/monit-cn/freeradius.conf
b/monit-cn/freeradius.conf
index
4fc3ac1
..
3ce1f6f
100644
(file)
--- a/
monit-cn/freeradius.conf
+++ b/
monit-cn/freeradius.conf
@@
-1,5
+1,14
@@
-# freeradius monit-cn template
+## 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 freeradius with pidfile "/var/run/freeradius/freeradius.pid"
start program = "/etc/init.d/freeradius start"
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