chomper icon indicating copy to clipboard operation
chomper copied to clipboard

Reload configuration on SIGHUP

Open sean-public opened this issue 7 years ago • 2 comments

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.

sean-public avatar Feb 20 '18 18:02 sean-public

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.

aniketpanjwani avatar Feb 20 '18 20:02 aniketpanjwani

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.

sean-public avatar Feb 20 '18 20:02 sean-public