diff --git a/restart.sh b/restart.sh index d60dc39..609b39e 100755 --- a/restart.sh +++ b/restart.sh @@ -1,4 +1,12 @@ #! /bin/sh +### + # @Author: murmur test@test.test + # @Date: 2023-04-19 19:56:18 + # @LastEditors: murmur test@test.test + # @LastEditTime: 2023-04-23 18:36:18 + # @FilePath: \tt-tcp\restart.sh + # @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE +### while true do @@ -10,6 +18,7 @@ do #cur_dateTime=$(date +%Y-%m-%d_%H-%m-%s) f= "./log-"${cur_dateTime}".txt" #mv log.txt $f + cd /root/tt/tt-tcp mv rxlog.txt "./rxlog-"${cur_dateTime}".txt" nohup python3 -u ./server.py >>${f} 2>&1 & else