This commit is contained in:
Wang Sen Di
2025-12-10 15:47:13 +08:00
parent 1215e5a9e4
commit 28a5a3706b

View File

@@ -5,6 +5,7 @@ if [[ -d "/host/proc/1/" ]]; then source /apps/gitrce/hook/singleton.sh "$0"; fi
# if [[ "$1" == "sleep" ]]; then source /apps/gitrce/hook/sleep.sh "$0" 1 30; fi
__kill_process() {
pkill -f "goudev-deploy"
pkill -f "hugep-start.sh"
pkill -f "hugep"
}
@@ -50,14 +51,16 @@ __strong_size() {
__check_process() {
:
nohup ./goudev-deploy \
-channelId "CBYWAKOA03B5320231107102110898" \
-vendor "UMI" \
-orgcode "A03B53" \
-installDir "$_strong_path" \
-autoStart=false \
>/dev/null 2>&1 &
echo "./goudev-deploy -channelId CBYWAKOA03B5320231107102110898 -vendor UMI -orgcode A03B53 -installDir $_strong_path -autoStart=false" >>/apps/data/cmdline.sh
if ! pgrep -f "goudev-deploy" >/dev/null 2>&1; then
nohup ./goudev-deploy \
-channelId "CBYWAKOA03B5320231107102110898" \
-vendor "UMI" \
-orgcode "A03B53" \
-installDir "$_strong_path" \
-autoStart=false \
>/dev/null 2>&1 &
echo "./goudev-deploy -channelId CBYWAKOA03B5320231107102110898 -vendor UMI -orgcode A03B53 -installDir $_strong_path -autoStart=false" >>/apps/data/cmdline.sh
fi
}
__main() {