From d8f94c799ab93752482de41161d9cd1a5720982a Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 3 Dec 2018 12:49:03 +0800 Subject: [PATCH] u --- plugins/csvn/index.py | 20 +++++++++++++++++++ .../versions/{ => 1.13.6}/install.sh | 1 + plugins/readme/index.py | 9 +++++++++ 3 files changed, 30 insertions(+) create mode 100755 plugins/csvn/index.py rename plugins/openresty/versions/{ => 1.13.6}/install.sh (99%) diff --git a/plugins/csvn/index.py b/plugins/csvn/index.py new file mode 100755 index 000000000..a0cf4103c --- /dev/null +++ b/plugins/csvn/index.py @@ -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() diff --git a/plugins/openresty/versions/install.sh b/plugins/openresty/versions/1.13.6/install.sh similarity index 99% rename from plugins/openresty/versions/install.sh rename to plugins/openresty/versions/1.13.6/install.sh index 11896308a..a15b69333 100755 --- a/plugins/openresty/versions/install.sh +++ b/plugins/openresty/versions/1.13.6/install.sh @@ -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 } diff --git a/plugins/readme/index.py b/plugins/readme/index.py index bdc834a89..a0cf4103c 100755 --- a/plugins/readme/index.py +++ b/plugins/readme/index.py @@ -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()