mirror of
https://github.com/octoleo/restic.git
synced 2024-11-27 07:16:40 +00:00
14 lines
252 B
Go
14 lines
252 B
Go
//go:build darwin || dragonfly || freebsd || netbsd || openbsd
|
|
// +build darwin dragonfly freebsd netbsd openbsd
|
|
|
|
package signals
|
|
|
|
import (
|
|
"os/signal"
|
|
"syscall"
|
|
)
|
|
|
|
func setupSignals() {
|
|
signal.Notify(signals.ch, syscall.SIGINFO, syscall.SIGUSR1)
|
|
}
|