Skip to content

Commit

Permalink
templates need to be passed differently
Browse files Browse the repository at this point in the history
  • Loading branch information
missytake committed Jul 11, 2024
1 parent ac918dc commit 54c340d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyinfra_acmetool/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ def deploy_acmetool(reload_hook="", email="", domains=[]):
)

files.template(
src=importlib.resources.files(__package__)
.joinpath("acmetool.cron.j2")
.open("rb"),
src=importlib.resources.files(__package__) / "acmetool.cron.j2",
dest="/etc/cron.d/acmetool",
user="root",
group="root",
Expand Down

0 comments on commit 54c340d

Please sign in to comment.