nohup ./"$sbb" run -c config.json >/dev/null 2>&1&
sleep 3
if pgrep -x "$sbb" > /dev/null;then
green "$sbb 主进程已启动"
green "$sbb 主进程重启成功"
else
red "$sbb 主进程启动失败"
red "$sbb 主进程重启失败"
fi
cd
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.