mirror of
https://github.com/timerring/bilive.git
synced 2026-05-06 13:30:13 +08:00
0
logs/runtime/.gitkeep
Normal file
0
logs/runtime/.gitkeep
Normal file
@@ -9,5 +9,9 @@ host=0.0.0.0
|
||||
port=2233
|
||||
|
||||
kill -9 $(ps aux | grep '[b]lrec' | awk '{print $2}')
|
||||
nohup blrec -c $config --open --host $host --port $port > $BILIVE_PATH/logs/blrec.log 2>&1 &
|
||||
echo "blrec run success!"
|
||||
nohup blrec -c $config --open --host $host --port $port > $BILIVE_PATH/logs/runtime/blrec-$(date +%Y%m%d-%H%M%S).log 2>&1 &
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "success"
|
||||
else
|
||||
echo "An error occurred while starting blrec. Check the logs for details."
|
||||
fi
|
||||
2
scan.sh
2
scan.sh
@@ -1,7 +1,7 @@
|
||||
# kill the previous scanSegments process
|
||||
kill -9 $(ps aux | grep 'src.burn.scan' | grep -v grep | awk '{print $2}')
|
||||
# start the scanSegments process
|
||||
python -m src.burn.scan
|
||||
nohup python -m src.burn.scan > $BILIVE_PATH/logs/runtime/scan-$(date +%Y%m%d-%H%M%S).log 2>&1 &
|
||||
# Check if the last command was successful
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "success"
|
||||
|
||||
@@ -13,7 +13,7 @@ duration_limit = 1800
|
||||
out_dir = "./Videos"
|
||||
|
||||
[logging]
|
||||
log_dir = "./logs/blrecLog"
|
||||
log_dir = "./logs/blrec"
|
||||
console_log_level = "INFO"
|
||||
backup_count = 30
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ from datetime import datetime
|
||||
import configparser
|
||||
|
||||
# ============================ Your configuration ============================
|
||||
GPU_EXIST=True
|
||||
GPU_EXIST=False
|
||||
# Can be pipeline, append, merge
|
||||
MODEL_TYPE = "append"
|
||||
Inference_Model = "small"
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
kill -9 $(ps aux | grep '[u]pload' | awk '{print $2}')
|
||||
kill -9 $(ps aux | grep '[b]iliup' | awk '{print $2}')
|
||||
# start the scanSegments process
|
||||
# nohup $BILIVE_PATH/src/upload/uploadQueue.sh > $BILIVE_PATH/logs/uploadQueue.log 2>&1 &
|
||||
python -m src.upload.upload
|
||||
nohup python -m src.upload.upload > $BILIVE_PATH/logs/runtime/upload-$(date +%Y%m%d-%H%M%S).log 2>&1 &
|
||||
# Check if the last command was successful
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "success"
|
||||
|
||||
Reference in New Issue
Block a user