configuration-templates – Blame information for rev 27

Subversion Repositories:
Rev:
Rev Author Line No. Line
27 office 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ###########################################################################
4  
5 # The monit file assumes that freeradius is listening on localhost
6 # and that the shared secret is radpass.
7  
8 check process freeradius with pidfile /var/run/freeradius/freeradius.pid
9 start program = "/etc/init.d/freeradius start"
10 stop program = "/etc/init.d/freeradius stop"
11 if failed host 127.0.0.1 port 1812 type udp protocol radius secret "radpass" then alert
12 if failed host 127.0.0.1 port 1812 type udp protocol radius secret "radpass" then alert
13 # if 5 restarts within 5 cycles then timeout