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