Remove acmetool cronjob

This commit is contained in:
link2xt
2025-10-31 07:27:53 +00:00
parent dd3cf4d449
commit a22868fd7e
2 changed files with 3 additions and 10 deletions

View File

@@ -10,12 +10,9 @@ def deploy_acmetool(email="", domains=[]):
packages=["acmetool"],
)
files.put(
src=importlib.resources.files(__package__).joinpath("acmetool.cron").open("rb"),
dest="/etc/cron.d/acmetool",
user="root",
group="root",
mode="644",
files.file(
path="/etc/cron.d/acmetool",
present=False,
)
files.put(

View File

@@ -1,4 +0,0 @@
SHELL=/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
MAILTO=root
20 16 * * * root /usr/bin/acmetool --batch reconcile && systemctl reload dovecot && systemctl reload postfix && systemctl reload nginx