Skip to content
Snippets Groups Projects
Commit 9abc425a authored by Levatax's avatar Levatax
Browse files

Merge branch 'signal-handler-fix' into 'main'

fix: do not exit on SIGHUP

See merge request !4
parents 01bad741 a270ca91
No related branches found
No related tags found
1 merge request!4fix: do not exit on SIGHUP
Pipeline #958 failed
......@@ -24,7 +24,7 @@ func main() {
}()
sig := make(chan os.Signal, 1)
signal.Notify(sig, os.Interrupt, syscall.SIGTERM, syscall.SIGHUP)
signal.Notify(sig, os.Interrupt, syscall.SIGTERM)
if err := serve(sig, db); err != nil {
log.Printf("cannot serve: %v", err)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment