3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-28 06:49:24 +01:00
ergo/irc/signals_plan9.go

22 lines
324 B
Go
Raw Permalink Normal View History

2021-08-20 21:57:08 +02:00
//go:build plan9
2020-05-18 02:51:46 +02:00
// +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,
}
)