mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-23 04:19:25 +01:00
21 lines
301 B
Go
21 lines
301 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.
|
||
|
ServerExitSignals = []os.Signal{
|
||
|
syscall.SIGINT,
|
||
|
syscall.SIGTERM,
|
||
|
syscall.SIGQUIT,
|
||
|
}
|
||
|
)
|