更新 'initial.sh'
parent
b69acf457b
commit
6db9bcc3dd
|
@ -50,7 +50,12 @@ echo "step 2: localize has finished"
|
||||||
|
|
||||||
|
|
||||||
# step 3: monitor
|
# 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
|
chown -R ${nml_user_name}:${nml_user_name} /home/${nml_user_home}/myserve
|
||||||
|
|
||||||
echo "step 3: monitor has finished"
|
echo "step 3: monitor has finished"
|
||||||
|
|
Loading…
Reference in New Issue