diff --git a/monit/generate.py b/monit/generate.py index f53a5b5c..48014199 100755 --- a/monit/generate.py +++ b/monit/generate.py @@ -331,6 +331,7 @@ def file_monitrc(hostname = host) : config += ' start program = "/etc/init.d/nscd start"\n' config += ' stop program = "/etc/init.d/nscd stop"\n' config += ' if 5 restarts within 5 cycles then timeout\n' + config += ' if failed unixsocket /var/run/.nscd_socket then restart\n' config += '\n' # nut - upsmonitor