mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update 661.sh
This commit is contained in:
parent
c881a91c54
commit
6f7b2753c5
2
661.sh
2
661.sh
|
@ -613,7 +613,7 @@ WGCFmenu;S5menu
|
|||
|
||||
reswarp(){
|
||||
crontab -l > /tmp/crontab.tmp
|
||||
echo "* * * * * systemctl stop warp-go;systemctl restart warp-go;systemctl restart wg-quick@wgcf;systemctl restart warp-svc" >> /tmp/crontab.tmp
|
||||
echo "0 4 * * * 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