fixed post-hook for permissions on renew SSL

This commit is contained in:
Bastian de Byl
2022-09-20 12:36:41 -04:00
parent 767bffad2f
commit b0ca89c2c6

View File

@@ -5,5 +5,5 @@
name: certbot_renew
special_time: weekly
job: >-
certbot renew --post-hook "su -s /bin/sh podman -c 'cd; podman restart nginx'"
certbot renew --post-hook "chown -R {{ podman_user }}:{{ podman_user }} /etc/letsencrypt && su -s /bin/sh podman -c 'cd; podman restart nginx'"
tags: cron