News for hackers. Stuff that matters.
Re:static-server: an HTTP server in Go for static content by rcme on Saturday September 16, 2023 @09:06PM (#37540468)
I think nginx does that too; if you send it a hup signal, it will reload the config.
Re:static-server: an HTTP server in Go for static content by housemusicfan on Saturday September 16, 2023 @09:13PM (#37540503)
Indeed, many programs interpret a kill -HUP signal as a "re-read config" command.
Re:static-server: an HTTP server in Go for static content by mholt on Sunday September 17, 2023 @01:19AM (#37541765)
This is problematic as when you log out your shell, HUP is sent to the web server process unintentionally...

(One reason we don't use signals in Caddy 2. So uncivilized.)