Update index.py

pull/116/head
midoks 3 years ago
parent 89d1eec8e8
commit c531cc9a44
  1. 12
      plugins/openresty/index.py

@ -86,15 +86,6 @@ def getInitDTpl():
return path
def makeConf():
vhost = getServerDir() + '/nginx/conf/vhost'
if not os.path.exists(vhost):
os.mkdir(vhost)
php_status = getServerDir() + '/nginx/conf/php_status'
if not os.path.exists(php_status):
os.mkdir(php_status)
def getFileOwner(filename):
import pwd
stat = os.lstat(filename)
@ -192,9 +183,6 @@ def initDreplace():
mw.writeFile(systemService, se_content)
mw.execShell('systemctl daemon-reload')
# make nginx vhost or other
makeConf()
return file_bin

Loading…
Cancel
Save