mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2026-09-10 16:00:41 +02:00
Merge branch 'systemd' of github.com:tterranigma/ansible-role-certbot into systemd
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
[Unit]
|
||||
Description=Let's Encrypt renewal service
|
||||
Description=Certbot
|
||||
Documentation=file:///usr/share/doc/python-certbot-doc/html/index.html
|
||||
Documentation=https://letsencrypt.readthedocs.io/en/latest/
|
||||
|
||||
[Service]
|
||||
User={{ certbot_auto_renew_user }}
|
||||
Type=oneshot
|
||||
ExecStart={{ certbot_script }} renew {{ certbot_auto_renew_options }}
|
||||
|
||||
ExecStartPost=/bin/systemctl reload {{ certbot_web_service }}.service
|
||||
ExecStart={{ certbot_script_path }} renew {{ certbot_auto_renew_options }}
|
||||
PrivateTmp=true
|
||||
|
||||
@@ -3,6 +3,7 @@ Description=Periodically check for Let's Encrypt's certificates renewal
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* {{ certbot_auto_renew_hour }}:{{ certbot_auto_renew_minute }}:00
|
||||
RandomizedDelaySec=43200
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user