aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/utils/signals_windows.go
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2020-08-12 19:10:16 -0400
committerQi Wang <qiwan@redhat.com>2020-08-18 14:42:49 -0400
commit5b02b69ea81deb06d5dc0acf2005cb3dbb496d4a (patch)
treee858d97cd35474214764a9936e249272bd8933b2 /cmd/podman/utils/signals_windows.go
parentc1fef2af3ec84b2d9cb27bf3cad9f8414552a3a9 (diff)
downloadpodman-5b02b69ea81deb06d5dc0acf2005cb3dbb496d4a.tar.gz
podman-5b02b69ea81deb06d5dc0acf2005cb3dbb496d4a.tar.bz2
podman-5b02b69ea81deb06d5dc0acf2005cb3dbb496d4a.zip
Support sighup reload configuration files
Support podman service sighup reload configuration files(containers.conf, registries.conf, storage.conf). Signed-off-by: Qi Wang <qiwan@redhat.com>
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
+)