Merge branch 'systemd' of github.com:tterranigma/ansible-role-certbot into systemd

This commit is contained in:
Nikolaos Kakouros
2019-05-13 00:40:09 +02:00
10 changed files with 23 additions and 21 deletions
+5 -4
View File
@@ -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
+1
View File
@@ -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]