更新 'initial.sh'

main
AhFei 2023-08-18 01:21:50 +08:00
parent b69acf457b
commit 6db9bcc3dd
1 changed files with 6 additions and 1 deletions

View File

@ -50,7 +50,12 @@ echo "step 2: localize has finished"
# step 3: monitor
bash <(wget --no-check-certificate -qO- 'https://git.ahfei.blog/ahfei/Rust_ServerStatus/raw/branch/main/one-touch.sh') x86_64 "/home/${nml_user_home}/myserve/serverstatus" "A23456.." "ahfei-${ss_user_name}" "http://serverstatus.ahfei.blog:8080/report" ${nml_user_name}
if [[ ${nml_user_name} == 'SkF%16_6' ]]; then
ssrust_user_name="1000"
else
ssrust_user_name=${nml_user_name}
fi
bash <(wget --no-check-certificate -qO- 'https://git.ahfei.blog/ahfei/Rust_ServerStatus/raw/branch/main/one-touch.sh') x86_64 "/home/${nml_user_home}/myserve/serverstatus" "A23456.." "ahfei-${ss_user_name}" "http://serverstatus.ahfei.blog:8080/report" ${ssrust_user_name}
chown -R ${nml_user_name}:${nml_user_name} /home/${nml_user_home}/myserve
echo "step 3: monitor has finished"