3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-15 00:19:29 +01:00
ergo/irc/signals_plan9.go
Shivaram Lingamneni 492109f29d upgrade go to 1.17
2021-08-20 15:59:26 -04:00

22 lines
324 B
Go

//go:build plan9
// +build plan9
// Copyright (c) 2020 Shivaram Lingamneni
// released under the MIT license
package irc
import (
"os"
"syscall"
)
var (
// ServerExitSignals are the signals the server will exit on.
// (no SIGQUIT on plan9)
ServerExitSignals = []os.Signal{
syscall.SIGINT,
syscall.SIGTERM,
}
)