go-aah / aah

A secure, flexible, rapid Go web framework
https://aahframework.org
MIT License
691 stars 33 forks source link

Make aah app reload configuration Signal configurable and also propagate this event #218

Closed jeevatkm closed 5 years ago

jeevatkm commented 6 years ago

The goal is to make aah app reload/reinitialize signal configurable. Currently aah app listens to SIGHUP for reinitializing app without restart on non-dev env profile (it was implemented in #123).

However in real world usage aah user need this signal value configurable and defaults to SIGHUP. So that aah user can use the signal they want e.g. SIGUSR1 and SIGUSR2.

Supported signals for reload configuration would be SIGHUP (default), SIGUSR1 and SIGUSR2.

jeevatkm commented 5 years ago

Done 😄