Commit 263aeeee authored by 蓝枫's avatar 蓝枫

Merge pull request #2 from xxrenzhe/patch-1

Update runserver
parents c3bbefc2 8c9b5341
...@@ -11,7 +11,7 @@ if [ $? != '0' ];then ...@@ -11,7 +11,7 @@ if [ $? != '0' ];then
fi fi
node $websocket_file & node $websocket_file &
if [ -f $manage_file -a -e $manage_file ] && [ -f $log_handler_file -a -e $log_handler_file ];then if [ -f $manage_file -a -e $manage_file ] && [ -f $log_handler_file -a -e $log_handler_file ];then
$manage_file runserver 0.0.0.0:80 &> logs/access.log & sudo $manage_file runserver 0.0.0.0:80 &> logs/access.log &
$log_handler_file &> logs/handler.log & $log_handler_file &> logs/handler.log &
else else
echo "manage.py or log_handler.py isn't exist or executable." echo "manage.py or log_handler.py isn't exist or executable."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment