mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:39:25 +08:00
@@ -596,6 +596,8 @@ def makeLsyncdConf(data):
|
||||
cmd_exclude_txt += x + "\n"
|
||||
mw.writeFile(cmd_exclude, cmd_exclude_txt)
|
||||
cmd_pass = name_dir + "/pass"
|
||||
if os.path.exists(cmd_pass):
|
||||
mw.execShell("chmod 755 " + cmd_pass)
|
||||
mw.writeFile(cmd_pass, t['password'])
|
||||
mw.execShell("chmod 600 " + cmd_pass)
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ def init_acme_cron():
|
||||
if res:
|
||||
return True
|
||||
|
||||
cmd = "/root/.acme.sh/acme.sh --cron --force"
|
||||
cmd = "/root/.acme.sh/acme.sh --cron --force --standalone"
|
||||
params = {
|
||||
'name': name,
|
||||
'type': 'day-n',
|
||||
|
||||
Reference in New Issue
Block a user