added runit scripts
This commit is contained in:
parent
2e437cd329
commit
c65de416de
81 changed files with 114 additions and 0 deletions
2
runit_scripts/docker/log/run
Executable file
2
runit_scripts/docker/log/run
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec svlogd -tt /var/log/svlog/docker
|
||||
0
runit_scripts/docker/log/supervise/lock
Normal file
0
runit_scripts/docker/log/supervise/lock
Normal file
1
runit_scripts/docker/log/supervise/pid
Normal file
1
runit_scripts/docker/log/supervise/pid
Normal file
|
|
@ -0,0 +1 @@
|
|||
29901
|
||||
1
runit_scripts/docker/log/supervise/stat
Normal file
1
runit_scripts/docker/log/supervise/stat
Normal file
|
|
@ -0,0 +1 @@
|
|||
run
|
||||
BIN
runit_scripts/docker/log/supervise/status
Normal file
BIN
runit_scripts/docker/log/supervise/status
Normal file
Binary file not shown.
8
runit_scripts/docker/run
Executable file
8
runit_scripts/docker/run
Executable 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
|
||||
0
runit_scripts/docker/supervise/lock
Normal file
0
runit_scripts/docker/supervise/lock
Normal file
1
runit_scripts/docker/supervise/pid
Normal file
1
runit_scripts/docker/supervise/pid
Normal file
|
|
@ -0,0 +1 @@
|
|||
6211
|
||||
1
runit_scripts/docker/supervise/stat
Normal file
1
runit_scripts/docker/supervise/stat
Normal file
|
|
@ -0,0 +1 @@
|
|||
run
|
||||
BIN
runit_scripts/docker/supervise/status
Normal file
BIN
runit_scripts/docker/supervise/status
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue