-
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user