增加快速跟随系统启动说明

增加快速跟随系统启动说明
pull/103/head
cppla 2020-10-22 17:39:23 +08:00 committed by GitHub
parent a02f8ee7dd
commit b05f73bb88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -124,7 +124,14 @@ pip install psutil
安装即可
```
打开云探针页面,就可以正常的监控。接下来把服务器和客户端脚本自行加入开机启动,或者进程守护,或以后台方式运行即可!例如: nohup python client-linux.py &
打开云探针页面,就可以正常的监控。接下来把服务器和客户端脚本自行加入开机启动,或者进程守护,或以后台方式运行即可!例如: nohup python client-linux.py &
如何快速跟随系统启动呢?其实好多人都搞复杂化了
1、chmod 755 /root/client-linux.py
2、vim /etc/crontab尾部追加
```diff
@reboot root /root/client-linux.py SERVER=$server USER=$user
```
# 为什么会有ServerStatus中文版