mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update mw.tpl
This commit is contained in:
@@ -52,7 +52,7 @@ mw_start_panel()
|
||||
fi
|
||||
echo -e "\033[32mdone\033[0m"
|
||||
else
|
||||
echo "Starting mw-panel... mw(pid $(echo $isStart)) already running"
|
||||
echo "starting mw-panel... mw(pid $(echo $isStart)) already running"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ mw_start_task()
|
||||
{
|
||||
isStart=$(ps aux |grep 'task.py'|grep -v grep|awk '{print $2}')
|
||||
if [ "$isStart" == '' ];then
|
||||
echo -e "Starting mw-tasks... \c"
|
||||
echo -e "starting mw-tasks... \c"
|
||||
cd $mw_path && python3 task.py >> ${mw_path}/logs/task.log 2>&1 &
|
||||
sleep 0.3
|
||||
isStart=$(ps aux |grep 'task.py'|grep -v grep|awk '{print $2}')
|
||||
|
||||
Reference in New Issue
Block a user