mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
Remove acmetool cronjob
This commit is contained in:
@@ -10,12 +10,9 @@ def deploy_acmetool(email="", domains=[]):
|
|||||||
packages=["acmetool"],
|
packages=["acmetool"],
|
||||||
)
|
)
|
||||||
|
|
||||||
files.put(
|
files.file(
|
||||||
src=importlib.resources.files(__package__).joinpath("acmetool.cron").open("rb"),
|
path="/etc/cron.d/acmetool",
|
||||||
dest="/etc/cron.d/acmetool",
|
present=False,
|
||||||
user="root",
|
|
||||||
group="root",
|
|
||||||
mode="644",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
files.put(
|
files.put(
|
||||||
|
|||||||
@@ -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
|
|
||||||
Reference in New Issue
Block a user