mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-03 23:15:33 +00:00
updates
This commit is contained in:
parent
2a6382e3b6
commit
bd1cd8fde6
@ -10,11 +10,13 @@ pathvenv=`realpath "$SCRIPTPATH/../venv/bin/activate"`
|
||||
|
||||
source $pathvenv
|
||||
date=$(date '+%Y-%m-%d')
|
||||
pathlog="$SCRIPTPATH/../log/$date.op.log"
|
||||
pathlog="$SCRIPTPATH/../../data/log"
|
||||
mkdir -p "$pathlog"
|
||||
fnfn="$pathlog/$date.op.log"
|
||||
|
||||
#echo $pathlog
|
||||
|
||||
cmd="python $path 8080 $* >> $pathlog 2>&1"
|
||||
cmd="python $path 8080 $* >> $fnfn 2>&1"
|
||||
|
||||
# do forever
|
||||
while true; do $cmd && break; done
|
||||
|
Loading…
Reference in New Issue
Block a user