diff --git a/plugins/acme_pandominassl_apply/index.py b/plugins/acme_pandominassl_apply/index.py index f35e4a930..96a2744ad 100755 --- a/plugins/acme_pandominassl_apply/index.py +++ b/plugins/acme_pandominassl_apply/index.py @@ -42,11 +42,6 @@ def getConf(): return path -def getConfTpl(): - path = getPluginDir() + "/config/redis.conf" - return path - - def getInitDTpl(): path = getPluginDir() + "/init.d/" + getPluginName() + ".tpl" return path @@ -156,6 +151,10 @@ def initDreplace(): if not os.path.exists(run_log_file): mw.writeFile(run_log_file,'') + hook_file = getConf() + if not os.path.exists(hook_file): + mw.writeFile(hook_file,'') + # initd replace if not os.path.exists(file_bin): content = mw.readFile(file_tpl)