mirror of
https://github.com/octoleo/restic.git
synced 2024-12-02 09:58:25 +00:00
13 lines
150 B
Go
13 lines
150 B
Go
// +build aix linux solaris
|
|
|
|
package signals
|
|
|
|
import (
|
|
"os/signal"
|
|
"syscall"
|
|
)
|
|
|
|
func setupSignals() {
|
|
signal.Notify(signals.ch, syscall.SIGUSR1)
|
|
}
|