1
0
Fork 0
forked from External/ergo

fix plan9 support

This commit is contained in:
Shivaram Lingamneni 2020-05-17 20:51:46 -04:00
parent 1ab06949bf
commit ccfc059755
3 changed files with 40 additions and 9 deletions

20
irc/signals_plan9.go Normal file
View file

@ -0,0 +1,20 @@
// +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,
}
)