aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/utils/signals_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/utils/signals_linux.go')
-rw-r--r--cmd/podman/utils/signals_linux.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/cmd/podman/utils/signals_linux.go b/cmd/podman/utils/signals_linux.go
new file mode 100644
index 000000000..f0a14aff0
--- /dev/null
+++ b/cmd/podman/utils/signals_linux.go
@@ -0,0 +1,14 @@
+// +build !windows
+
+package utils
+
+import (
+ "os"
+
+ "golang.org/x/sys/unix"
+)
+
+// Platform specific signal synonyms
+var (
+ SIGHUP os.Signal = unix.SIGHUP
+)