Skip to content

Commit

Permalink
See ansoncloud8/am-serv00-socks5@8916508 from refs/heads/main
Browse files Browse the repository at this point in the history
  • Loading branch information
amclubs committed Aug 18, 2024
1 parent 58656d0 commit 8b1a24b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ crontab -l
如果没有保活设置成功可以执行下面命令
- 重启机保活
```
(crontab -l; echo "@reboot pkill -kill -u <username> && nohup /home/${USER}/.s5/s5 -c /home/<username>/.s5/config.json >/dev/null 2>&1 & && nohup /home/<username>/.nezha-agent/start.sh >/dev/null 2>&1 &") | crontab -
(crontab -l; echo "@reboot pkill -kill -u <username> && nohup /home/${USER}/.s5/s5 -c /home/${USER}/.s5/config.json >/dev/null 2>&1 & && nohup /home/<username>/.nezha-agent/start.sh >/dev/null 2>&1 &") | crontab -
```
- nezha-agent保活
```
(crontab -l; echo "*/12 * * * * pgrep -x "nezha-agent" > /dev/null || nohup /home/${USER}/.nezha-agent/start.sh >/dev/null 2>&1 &") | crontab -
```
s5保活
```
(crontab -l; echo "*/12 * * * * pgrep -x "s5" > /dev/null || nohup /home/${USER}/.s5/s5 -c /home/<username>/.s5/config.json >/dev/null 2>&1 &") | crontab -
(crontab -l; echo "*/12 * * * * pgrep -x "s5" > /dev/null || nohup /home/${USER}/.s5/s5 -c /home/${USER}/.s5/config.json >/dev/null 2>&1 &") | crontab -
```


Expand Down
2 changes: 1 addition & 1 deletion output_temp/.build_date.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Mon Aug 12 08:31:07 UTC 2024
Sun Aug 18 10:27:12 UTC 2024
2 changes: 1 addition & 1 deletion variables.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
generated_at: Mon Aug 12 08:31:07 UTC 2024
generated_at: Sun Aug 18 10:27:12 UTC 2024

0 comments on commit 8b1a24b

Please sign in to comment.