Merge pull request #838 from midoks/dev

ACME强制更新修改
This commit is contained in:
Mr Chen
2025-11-13 02:28:04 +08:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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)
+1 -1
View File
@@ -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',