mirror of
https://github.com/octoleo/restic.git
synced 2024-11-05 12:57:53 +00:00
14 lines
185 B
Go
14 lines
185 B
Go
//go:build aix || linux || solaris
|
|
// +build aix linux solaris
|
|
|
|
package signals
|
|
|
|
import (
|
|
"os/signal"
|
|
"syscall"
|
|
)
|
|
|
|
func setupSignals() {
|
|
signal.Notify(signals.ch, syscall.SIGUSR1)
|
|
}
|