mirror of
https://github.com/navidrome/navidrome.git
synced 2024-09-11 20:12:54 +02:00
18 lines
191 B
Go
18 lines
191 B
Go
// +build !windows
|
|
// +build !plan9
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"os"
|
|
"os/signal"
|
|
"syscall"
|
|
)
|
|
|
|
func init() {
|
|
signals := []os.Signal{
|
|
syscall.SIGUSR1,
|
|
}
|
|
signal.Notify(sigChan, signals...)
|
|
}
|