added runit scripts

This commit is contained in:
tomit4 2022-02-23 12:16:48 -08:00
parent 2e437cd329
commit c65de416de
81 changed files with 114 additions and 0 deletions

2
runit_scripts/docker/log/run Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec svlogd -tt /var/log/svlog/docker

View file

View file

@ -0,0 +1 @@
29901

View file

@ -0,0 +1 @@
run

Binary file not shown.

8
runit_scripts/docker/run Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
[ -r conf ] && . ./conf
modprobe -q loop || exit 1
mountpoint -q /sys/fs/cgroup/systemd || {
mkdir -p /sys/fs/cgroup/systemd;
mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd;
}
exec chpst -o 1048576 -p 1048576 dockerd $OPTS 2>&1

View file

View file

@ -0,0 +1 @@
6211

View file

@ -0,0 +1 @@
run

Binary file not shown.