5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-09-19 00:59:37 +00:00

disable SIGHUP handling for now

This commit is contained in:
Arceliar 2021-07-01 08:54:14 -05:00
parent ff44417dec
commit df44b0227b

View File

@ -399,7 +399,7 @@ func (n *node) shutdown() {
func main() {
args := getArgs()
hup := make(chan os.Signal, 1)
signal.Notify(hup, os.Interrupt, syscall.SIGHUP)
//signal.Notify(hup, os.Interrupt, syscall.SIGHUP)
term := make(chan os.Signal, 1)
signal.Notify(term, os.Interrupt, syscall.SIGTERM)
for {