forked from External/ergo
fix plan9 support
This commit is contained in:
parent
1ab06949bf
commit
ccfc059755
3 changed files with 40 additions and 9 deletions
|
|
@ -84,15 +84,6 @@ type Server struct {
|
|||
semaphores ServerSemaphores
|
||||
}
|
||||
|
||||
var (
|
||||
// ServerExitSignals are the signals the server will exit on.
|
||||
ServerExitSignals = []os.Signal{
|
||||
syscall.SIGINT,
|
||||
syscall.SIGTERM,
|
||||
syscall.SIGQUIT,
|
||||
}
|
||||
)
|
||||
|
||||
// NewServer returns a new Oragono server.
|
||||
func NewServer(config *Config, logger *logger.Manager) (*Server, error) {
|
||||
// initialize data structures
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue