bugfix
This commit is contained in:
parent
db9899521d
commit
d3ad9d845c
4
build.sh
4
build.sh
@ -44,11 +44,11 @@ EOF
|
|||||||
cat > $cdir/start.sh <<EOF
|
cat > $cdir/start.sh <<EOF
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
cd $cdir
|
cd $cdir
|
||||||
$cdir/py3/bin/python $cdir/app/fastwhisper.py -p 9180 -w $cdir &
|
$cdir/py3/bin/python $cdir/app/fastwhisper.py -w $cdir &
|
||||||
exit 0
|
exit 0
|
||||||
EOF
|
EOF
|
||||||
cat > $cdir/stop.sh <<EOF
|
cat > $cdir/stop.sh <<EOF
|
||||||
PID=\$(lsof -t -i:9180)
|
PID=\$(lsof -t -i:9925)
|
||||||
kill -9 \$PID
|
kill -9 \$PID
|
||||||
EOF
|
EOF
|
||||||
chmod +x $cdir/start.sh stop.sh
|
chmod +x $cdir/start.sh stop.sh
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user