mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
u
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
||||
# coding: utf-8
|
||||
|
||||
import time
|
||||
import psutil
|
||||
import random
|
||||
import os
|
||||
import urllib
|
||||
import binascii
|
||||
import json
|
||||
import public
|
||||
import re
|
||||
|
||||
|
||||
def status():
|
||||
return 'start'
|
||||
|
||||
if __name__ == "__main__":
|
||||
func = sys.argv[1]
|
||||
if func == 'status':
|
||||
print status()
|
||||
@@ -23,6 +23,7 @@ Install_openresty()
|
||||
|
||||
cd ${openrestyDir}/openresty* && ./configure --prefix=$serverPath/openresty \
|
||||
--with-openssl=$serverPath/source/lib/openssl-1.0.2q && make && make install
|
||||
|
||||
|
||||
echo '安装完成' > $install_tmp
|
||||
}
|
||||
@@ -9,3 +9,12 @@ import binascii
|
||||
import json
|
||||
import public
|
||||
import re
|
||||
|
||||
|
||||
def status():
|
||||
return 'start'
|
||||
|
||||
if __name__ == "__main__":
|
||||
func = sys.argv[1]
|
||||
if func == 'status':
|
||||
print status()
|
||||
|
||||
Reference in New Issue
Block a user