The "allsky" package is implementing the ability to have the program re-read its configuration variables without exiting and restarting. It is sent the SIGHUP signal when a "reload" should occur. It currently just captures that signal and exits, but will eventually re-load arguments (once they are all in one file).
This PR changes the WebUI to cause the SIGHUP signal to be sent by using "systemctl reload-or-restart allsky" (the "reload" part sends the signal, and if that's not supported the "restart" part does a normal restart).
The "allsky" package is implementing the ability to have the program re-read its configuration variables without exiting and restarting. It is sent the SIGHUP signal when a "reload" should occur. It currently just captures that signal and exits, but will eventually re-load arguments (once they are all in one file).
This PR changes the WebUI to cause the SIGHUP signal to be sent by using "systemctl reload-or-restart allsky" (the "reload" part sends the signal, and if that's not supported the "restart" part does a normal restart).