From efee4ebf43e376a7cd8b8abcef0c70aa90427bb4 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 1 Mar 2022 22:01:26 +0000 Subject: initial commit --- docs/create-s6-base | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 docs/create-s6-base (limited to 'docs/create-s6-base') diff --git a/docs/create-s6-base b/docs/create-s6-base new file mode 100644 index 0000000..d786a75 --- /dev/null +++ b/docs/create-s6-base @@ -0,0 +1,24 @@ +#! /bin/bash + +## Create the base + +s6-linux-init-maker \ + -c /etc/s6/base \ + -u root \ + -G "/sbin/agetty -L -8 tty1 115200" \ + -L \ + -p "/bin:/sbin:/usr/bin" \ + -m 022 \ + -t 2 \ + -D default \ + -U utmp \ + /BUILD/etc/s6/base + +## Modify scripts in base + +# For rc.init: +### If your services are managed by s6-rc: +### (replace /run/service with your scandir) +#s6-rc-init -c /etc/s6/db/current /run/service + +# Check other scripts and only uncomment for s6 & s6-rc -- cgit v1.2.1