RayWangQvQ / sing-box-installer

基于docker一键安装sing-box服务端,并自动生成vmess、naiveproxy、hysteria2节点
308 stars 77 forks source link

serv00服务器重启后失效 #11

Closed ggrreeeedd closed 3 months ago

ggrreeeedd commented 3 months ago

需要手动重启,如何实现进程守护以及重启后自动启动

leungyiuhoi commented 3 months ago

我也是一样,在serv00如何添加cron jobs改善该问题

RayWangQvQ commented 3 months ago
@reboot cd /home/<你名字>/sing-box && chmod +x ./data/entry.sh && ./data/entry.sh $PWD/data true
leungyiuhoi commented 2 months ago
@reboot cd /home/<你名字>/sing-box && chmod +x ./data/entry.sh && ./data/entry.sh $PWD/data true

cron jobs问题已经解决了,一个月都没有断线,谢谢!!!