summary refs log tree commit diff
path: root/os/etc/s6-rc/src/containerd-fdholder
diff options
context:
space:
mode:
Diffstat (limited to 'os/etc/s6-rc/src/containerd-fdholder')
-rw-r--r--os/etc/s6-rc/src/containerd-fdholder/run8
-rw-r--r--os/etc/s6-rc/src/containerd-fdholder/type1
2 files changed, 9 insertions, 0 deletions
diff --git a/os/etc/s6-rc/src/containerd-fdholder/run b/os/etc/s6-rc/src/containerd-fdholder/run
new file mode 100644
index 0000000..ffec068
--- /dev/null
+++ b/os/etc/s6-rc/src/containerd-fdholder/run
@@ -0,0 +1,8 @@
+#!/bin/execlineb -P
+
+envfile /etc/s6-rc/config/containerd.conf
+importas -iu containerd_socket containerd_socket
+
+runas
+
+s6-fdholder-daemon -x data/rules ${containerd_socket}
diff --git a/os/etc/s6-rc/src/containerd-fdholder/type b/os/etc/s6-rc/src/containerd-fdholder/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/os/etc/s6-rc/src/containerd-fdholder/type
@@ -0,0 +1 @@
+longrun