This commit is contained in:
yumoqing 2025-11-06 14:45:27 +08:00
parent e4aa1b653c
commit c1803a0ede

View File

@ -48,8 +48,7 @@ $cdir/py3/bin/python $cdir/app/fastwhisper.py -w $cdir &
exit 0
EOF
cat > $cdir/stop.sh <<EOF
PID=\$(lsof -t -i:9925)
kill -9 \$PID
kill -9 \$(lsof -t -i:9925)
EOF
chmod +x $cdir/start.sh stop.sh
sudo mkdir /var/log/fastwhisper