vdev icon indicating copy to clipboard operation
vdev copied to clipboard

Reload on SIGHUP

Open jcnelson opened this issue 10 years ago • 3 comments

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

jcnelson avatar Aug 28 '15 14:08 jcnelson

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

fbt avatar Aug 30 '15 01:08 fbt

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:

  • restart any daemonlet processes.
  • re-connect itself to the netlink socket.

jcnelson avatar Aug 30 '15 02:08 jcnelson

Yeah, sounds fair.

fbt avatar Aug 30 '15 11:08 fbt