mirror of
https://github.com/moepman/acertmgr.git
synced 2025-01-01 05:31:51 +01:00
Only execute actions once
instead of once per domain
This commit is contained in:
parent
dc83df8d97
commit
9624f8c704
@ -216,7 +216,7 @@ if __name__ == "__main__":
|
|||||||
if not target_isCurrent(cfg['path'], crt_file):
|
if not target_isCurrent(cfg['path'], crt_file):
|
||||||
actions.add(cert_put(domains, cfg))
|
actions.add(cert_put(domains, cfg))
|
||||||
|
|
||||||
# run post-update actions
|
# run post-update actions
|
||||||
for action in actions:
|
for action in actions:
|
||||||
if action is not None:
|
if action is not None:
|
||||||
subprocess.call(action.split())
|
subprocess.call(action.split())
|
||||||
|
Loading…
Reference in New Issue
Block a user