chomper
chomper copied to clipboard
Reload configuration on SIGHUP
Daemons commonly reload their configuration from file when they receive a SIGHUP signal, which they won't receive in the normal course of events, as daemons aren't attached to a terminal. It would be great to be able to reload a changed config file without restarting so the current timers aren't reset (semi-related to #5).
Alternatives are USR1/USR2 but those are less common.
Hi Sean, thanks for adding these issues. Just to be clear, are you saying that you would like the ability to add/remove websites to a given block rule while the block rule is in effect? If so, I agree it makes sense to allow users to create a stricter block, but I wouldn't want to allow users to make a weaker block.
It's up to the user what they put in the configuration. Receiving a signal to reload the config from file is the requested enhancement here.