summaryrefslogtreecommitdiff
path: root/docs/create-s6-base
blob: d786a757c0de4a1bf5bbcd59ea3bd3194f4637fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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