Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion record.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export no_proxy=*
host=0.0.0.0
port=2233

kill -9 $(pgrep -f blrec)
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!"
2 changes: 1 addition & 1 deletion scan.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# kill the previous scanSegments process
kill -9 $(pgrep -f src.burn.scan)
kill -9 $(ps aux | grep 'src.burn.scan' | grep -v grep | awk '{print $2}')
# start the scanSegments process
nohup python -m src.burn.scan > $BILIVE_PATH/logs/scanLog/scan-$(date +%Y%m%d-%H%M%S).log 2>&1 &
# Check if the last command was successful
Expand Down
4 changes: 2 additions & 2 deletions upload.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# kill the previous scanSegments process
kill -9 $(pgrep -f upload)
kill -9 $(pgrep -f biliup)
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 &
nohup python -m src.upload.upload > $BILIVE_PATH/logs/uploadLog/upload-$(date +%Y%m%d-%H%M%S).log 2>&1 &
Expand Down