File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ export no_proxy=*
88host=0.0.0.0
99port=2233
1010
11- kill -9 $( pgrep -f blrec )
11+ kill -9 $( ps aux | grep ' [b]lrec ' | awk ' {print $2} ' )
1212nohup blrec -c $config --open --host $host --port $port > $BILIVE_PATH /logs/blrec.log 2>&1 &
1313echo " blrec run success!"
Original file line number Diff line number Diff line change 11# kill the previous scanSegments process
2- kill -9 $( pgrep -f src.burn.scan)
2+ kill -9 $( ps aux | grep ' src.burn.scan' | grep -v grep | awk ' {print $2} ' )
33# start the scanSegments process
44nohup python -m src.burn.scan > $BILIVE_PATH /logs/scanLog/scan-$( date +%Y%m%d-%H%M%S) .log 2>&1 &
55# Check if the last command was successful
Original file line number Diff line number Diff line change 11# kill the previous scanSegments process
2- kill -9 $( pgrep -f upload )
3- kill -9 $( pgrep -f biliup )
2+ kill -9 $( ps aux | grep ' [u]pload ' | awk ' {print $2} ' )
3+ kill -9 $( ps aux | grep ' [b]iliup ' | awk ' {print $2} ' )
44# start the scanSegments process
55# nohup $BILIVE_PATH/src/upload/uploadQueue.sh > $BILIVE_PATH/logs/uploadQueue.log 2>&1 &
66nohup python -m src.upload.upload > $BILIVE_PATH /logs/uploadLog/upload-$( date +%Y%m%d-%H%M%S) .log 2>&1 &
You can’t perform that action at this time.
0 commit comments