summaryrefslogtreecommitdiff
path: root/cmd/podman/utils/signals_windows.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-08-19 12:05:12 +0200
committerGitHub <noreply@github.com>2020-08-19 12:05:12 +0200
commit7e2a1b34c30e085275de1c484dc472682876746c (patch)
tree6d928baafba52d92475a8afebf07d38de39eb8ce /cmd/podman/utils/signals_windows.go
parent9d096c1c4ea5308c94f779444b61015eeef2972a (diff)
parent5b02b69ea81deb06d5dc0acf2005cb3dbb496d4a (diff)
downloadpodman-7e2a1b34c30e085275de1c484dc472682876746c.tar.gz
podman-7e2a1b34c30e085275de1c484dc472682876746c.tar.bz2
podman-7e2a1b34c30e085275de1c484dc472682876746c.zip
Merge pull request #7311 from QiWang19/service-reload
Support sighup reload configuration files
Diffstat (limited to 'cmd/podman/utils/signals_windows.go')
-rw-r--r--cmd/podman/utils/signals_windows.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/cmd/podman/utils/signals_windows.go b/cmd/podman/utils/signals_windows.go
new file mode 100644
index 000000000..30b058cb9
--- /dev/null
+++ b/cmd/podman/utils/signals_windows.go
@@ -0,0 +1,14 @@
+// +build windows
+
+package utils
+
+import (
+ "os"
+
+ "golang.org/x/sys/windows"
+)
+
+// Platform specific signal synonyms
+var (
+ SIGHUP os.Signal = windows.SIGHUP
+)