diff options
Diffstat (limited to 'os/etc/s6-rc/src/containerd-log')
| -rw-r--r-- | os/etc/s6-rc/src/containerd-log/consumer-for | 1 | ||||
| -rw-r--r-- | os/etc/s6-rc/src/containerd-log/notification-fd | 1 | ||||
| -rw-r--r-- | os/etc/s6-rc/src/containerd-log/pipeline-name | 1 | ||||
| -rw-r--r-- | os/etc/s6-rc/src/containerd-log/run | 9 | ||||
| -rw-r--r-- | os/etc/s6-rc/src/containerd-log/type | 1 |
5 files changed, 13 insertions, 0 deletions
diff --git a/os/etc/s6-rc/src/containerd-log/consumer-for b/os/etc/s6-rc/src/containerd-log/consumer-for new file mode 100644 index 0000000..136f84d --- /dev/null +++ b/os/etc/s6-rc/src/containerd-log/consumer-for @@ -0,0 +1 @@ +containerd-srv diff --git a/os/etc/s6-rc/src/containerd-log/notification-fd b/os/etc/s6-rc/src/containerd-log/notification-fd new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/os/etc/s6-rc/src/containerd-log/notification-fd @@ -0,0 +1 @@ +3 diff --git a/os/etc/s6-rc/src/containerd-log/pipeline-name b/os/etc/s6-rc/src/containerd-log/pipeline-name new file mode 100644 index 0000000..29ad8d0 --- /dev/null +++ b/os/etc/s6-rc/src/containerd-log/pipeline-name @@ -0,0 +1 @@ +containerd diff --git a/os/etc/s6-rc/src/containerd-log/run b/os/etc/s6-rc/src/containerd-log/run new file mode 100644 index 0000000..01cfc51 --- /dev/null +++ b/os/etc/s6-rc/src/containerd-log/run @@ -0,0 +1,9 @@ +#!/bin/execlineb -P + +envfile /etc/s6-rc/config/log.conf +envfile -I /etc/s6-rc/config/containerd.conf +importas -sCuD "n2 s2000000 T" LOG_DIRECTIVES LOG_DIRECTIVES +importas -sCuD "/run/log" LOG_DIR LOG_DIR + +foreground { install -d ${LOG_DIR}/containerd } +s6-log -d3 -b -- ${LOG_DIRECTIVES} ${LOG_DIR}/containerd diff --git a/os/etc/s6-rc/src/containerd-log/type b/os/etc/s6-rc/src/containerd-log/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/os/etc/s6-rc/src/containerd-log/type @@ -0,0 +1 @@ +longrun |