📄 restartsp.cgi
字号:
#!/bin/sh
echo "Status 200 Ok"
echo "Content-type:text/plain"
echo ""
echo "<html>"
echo "<body>"
#restart the Singnal Proxy server
cd /usr/local/g2sp/SipSPCtl
/usr/local/g2sp/SipSPCtl restart
cd -
NUMBER=`ps -ef|grep WhSignalProxy |wc -l`
if [ $NUMBER -le 1 ]
then
echo "Failed to restart the Singnal Proxy Server !"
else
echo "Singnal Proxy Server was started successfully !"
fi
echo "</body>"
echo "</html>"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -