mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update 661.sh
This commit is contained in:
parent
b42e6e152d
commit
c881a91c54
2
661.sh
2
661.sh
|
@ -613,7 +613,7 @@ WGCFmenu;S5menu
|
|||
|
||||
reswarp(){
|
||||
crontab -l > /tmp/crontab.tmp
|
||||
echo "*/15 * * * * * systemctl stop warp-go;systemctl restart warp-go;systemctl restart wg-quick@wgcf;systemctl restart warp-svc" >> /tmp/crontab.tmp
|
||||
echo "* * * * * systemctl stop warp-go;systemctl restart warp-go;systemctl restart wg-quick@wgcf;systemctl restart warp-svc" >> /tmp/crontab.tmp
|
||||
crontab /tmp/crontab.tmp
|
||||
rm /tmp/crontab.tmp
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue