mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 21:17:37 +03:00
16 lines
185 B
Go
16 lines
185 B
Go
//go:build !windows && !plan9
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"os"
|
|
"os/signal"
|
|
"syscall"
|
|
)
|
|
|
|
func init() {
|
|
signals := []os.Signal{
|
|
syscall.SIGUSR1,
|
|
}
|
|
signal.Notify(sigChan, signals...)
|
|
}
|