jcnelson / vdev

A device-file manager for *nix
GNU General Public License v3.0
101 stars 13 forks source link

Reload on SIGHUP #53

Open jcnelson opened 9 years ago

jcnelson commented 9 years ago

When receiving SIGHUP, vdevd should reload its config and action files.

fbt commented 9 years ago

Reopening all open files (like logs) would also be nice (and constistent with what daemons do traditionally).

jcnelson commented 9 years ago

Sounds good. Since the intent is to re-synchronize its state with the configuration defined on disk, I think there are a couple more things it should do on SIGHUP:

fbt commented 9 years ago

Yeah, sounds fair.