mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-12 00:11:31 +00:00
~全面适配容器环境,并支持S6守护进程
~移除了部分已移除功能的冗余代码 ~修复自定义策略组总是对齐失败的bug
This commit is contained in:
0
docker/s6-rc.d/afstart/dependencies.d/shellcrash
Normal file
0
docker/s6-rc.d/afstart/dependencies.d/shellcrash
Normal file
1
docker/s6-rc.d/afstart/type
Normal file
1
docker/s6-rc.d/afstart/type
Normal file
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
2
docker/s6-rc.d/afstart/up
Normal file
2
docker/s6-rc.d/afstart/up
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/command/execlineb -P
|
||||
/etc/ShellCrash/start.sh afstart
|
||||
1
docker/s6-rc.d/bfstart/type
Normal file
1
docker/s6-rc.d/bfstart/type
Normal file
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
2
docker/s6-rc.d/bfstart/up
Normal file
2
docker/s6-rc.d/bfstart/up
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/command/execlineb -P
|
||||
/etc/ShellCrash/start.sh bfstart
|
||||
3
docker/s6-rc.d/crond/run
Normal file
3
docker/s6-rc.d/crond/run
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/command/execlineb -P
|
||||
fdmove -c 2 1
|
||||
exec crond -f -l 8
|
||||
1
docker/s6-rc.d/crond/type
Normal file
1
docker/s6-rc.d/crond/type
Normal file
@@ -0,0 +1 @@
|
||||
longrun
|
||||
0
docker/s6-rc.d/shellcrash/dependencies.d/bfstart
Normal file
0
docker/s6-rc.d/shellcrash/dependencies.d/bfstart
Normal file
6
docker/s6-rc.d/shellcrash/run
Normal file
6
docker/s6-rc.d/shellcrash/run
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
. /etc/ShellCrash/configs/command.env
|
||||
|
||||
exec /bin/sh -c "${COMMAND} > /dev/null"
|
||||
1
docker/s6-rc.d/shellcrash/type
Normal file
1
docker/s6-rc.d/shellcrash/type
Normal file
@@ -0,0 +1 @@
|
||||
longrun
|
||||
0
docker/s6-rc.d/user/contents.d/crond
Normal file
0
docker/s6-rc.d/user/contents.d/crond
Normal file
Reference in New Issue
Block a user