File tree Expand file tree Collapse file tree 7 files changed +10
-7
lines changed
Expand file tree Collapse file tree 7 files changed +10
-7
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -9,5 +9,9 @@ host=0.0.0.0
99port=2233
1010
1111kill -9 $( ps aux | grep ' [b]lrec' | awk ' {print $2}' )
12- nohup blrec -c $config --open --host $host --port $port > $BILIVE_PATH /logs/blrec.log 2>&1 &
13- echo " blrec run success!"
12+ nohup blrec -c $config --open --host $host --port $port > $BILIVE_PATH /logs/runtime/blrec-$( date +%Y%m%d-%H%M%S) .log 2>&1 &
13+ if [ $? -eq 0 ]; then
14+ echo " success"
15+ else
16+ echo " An error occurred while starting blrec. Check the logs for details."
17+ fi
Original file line number Diff line number Diff line change 11# kill the previous scanSegments process
22kill -9 $( ps aux | grep ' src.burn.scan' | grep -v grep | awk ' {print $2}' )
33# start the scanSegments process
4- python -m src.burn.scan
4+ nohup python -m src.burn.scan > $BILIVE_PATH /logs/runtime/scan- $( date +%Y%m%d-%H%M%S ) .log 2>&1 &
55# Check if the last command was successful
66if [ $? -eq 0 ]; then
77 echo " success"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ duration_limit = 1800
1313out_dir = " ./Videos"
1414
1515[logging ]
16- log_dir = " ./logs/blrecLog "
16+ log_dir = " ./logs/blrec "
1717console_log_level = " INFO"
1818backup_count = 30
1919
Original file line number Diff line number Diff line change 66import configparser
77
88# ============================ Your configuration ============================
9- GPU_EXIST = True
9+ GPU_EXIST = False
1010# Can be pipeline, append, merge
1111MODEL_TYPE = "append"
1212Inference_Model = "small"
Original file line number Diff line number Diff line change 22kill -9 $( ps aux | grep ' [u]pload' | awk ' {print $2}' )
33kill -9 $( ps aux | grep ' [b]iliup' | awk ' {print $2}' )
44# start the scanSegments process
5- # nohup $BILIVE_PATH/src/upload/uploadQueue.sh > $BILIVE_PATH/logs/uploadQueue.log 2>&1 &
6- python -m src.upload.upload
5+ nohup python -m src.upload.upload > $BILIVE_PATH /logs/runtime/upload-$( date +%Y%m%d-%H%M%S) .log 2>&1 &
76# Check if the last command was successful
87if [ $? -eq 0 ]; then
98 echo " success"
You can’t perform that action at this time.
0 commit comments