Skip to content
Snippets Groups Projects
Commit 08bb0edd authored by Rob Riepel's avatar Rob Riepel
Browse files

Provide a way to disable periodic configuration file reread.

parent ce255fe6
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ while (1) {
}
# set flags to cause a config reload every reload interval
catch_hup() unless ++$do_reload_every%$reload_interval;
catch_hup() unless !$reload_interval or ++$do_reload_every%$reload_interval;
do_maint() if ($need_maint);
......@@ -255,8 +255,8 @@ so be sure to include a trailing slash if it is.
=item B<-r> I<count>
Re-read the configuration file after every I<count> polls of the systems.
The default value is 10.
Reread the configuration file after every I<count> polls of the systems.
The default value is 10. A value of zero disables the reread feature.
=item B<-s>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment