From 8c4f670352877d9ef58fbb685ee380e942b5f9f1 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sat, 12 Feb 2022 16:45:53 +0100 Subject: [PATCH] use s6-rc format --- rootfs/etc/s6-overlay/s6-rc.d/confd/type | 1 + .../etc/{cont-init.d/01-confd => s6-overlay/s6-rc.d/confd/up} | 3 +-- rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/confd | 0 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 rootfs/etc/s6-overlay/s6-rc.d/confd/type rename rootfs/etc/{cont-init.d/01-confd => s6-overlay/s6-rc.d/confd/up} (50%) create mode 100644 rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/confd diff --git a/rootfs/etc/s6-overlay/s6-rc.d/confd/type b/rootfs/etc/s6-overlay/s6-rc.d/confd/type new file mode 100644 index 0000000..bdd22a1 --- /dev/null +++ b/rootfs/etc/s6-overlay/s6-rc.d/confd/type @@ -0,0 +1 @@ +oneshot diff --git a/rootfs/etc/cont-init.d/01-confd b/rootfs/etc/s6-overlay/s6-rc.d/confd/up similarity index 50% rename from rootfs/etc/cont-init.d/01-confd rename to rootfs/etc/s6-overlay/s6-rc.d/confd/up index 45ba58d..d5d1dcd 100644 --- a/rootfs/etc/cont-init.d/01-confd +++ b/rootfs/etc/s6-overlay/s6-rc.d/confd/up @@ -1,3 +1,2 @@ -#!/usr/bin/with-contenv sh - +#!/command/execlineb -P confd -onetime -backend env diff --git a/rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/confd b/rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/confd new file mode 100644 index 0000000..e69de29