diff options
author | davidovski <david@davidovski.xyz> | 2022-03-01 22:01:26 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-01 22:01:26 +0000 |
commit | efee4ebf43e376a7cd8b8abcef0c70aa90427bb4 (patch) | |
tree | 13956b6dbca8622b71edbdd3a1c2a949c5d1aac8 /docs/create-s6-base |
initial commit
Diffstat (limited to 'docs/create-s6-base')
-rw-r--r-- | docs/create-s6-base | 24 |
1 files changed, 24 insertions, 0 deletions
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 |