3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-27 13:12:43 +01:00
ergo/irc/signals_plan9.go
Shivaram Lingamneni ccfc059755 fix plan9 support
2020-05-17 20:53:08 -04:00

21 lines
307 B
Go

// +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,
}
)