Updates to fix certbot.service issues reloading
This commit is contained in:
parent
12d2ca9a1d
commit
a43cb4b6bb
@ -3,7 +3,8 @@ Description=Certbot
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=certbot renew -w /var/lib/letsencrypt/ --preferred-chain "ISRG Root X1"
|
ExecStart=certbot renew -w /var/lib/letsencrypt/ --preferred-chain "ISRG Root X1"
|
||||||
ExecStartPost=/usr/bin/systemctl reload openresty
|
ExecStartPost=-/usr/bin/systemctl reload webserver
|
||||||
|
ExecStartPost=-/usr/bin/systemctl reload irc
|
||||||
KillMode=process
|
KillMode=process
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=no
|
RemainAfterExit=no
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
- name: Enable timer
|
- name: Enable timer
|
||||||
when: services.changed
|
when: services.changed
|
||||||
|
become: yes
|
||||||
systemd:
|
systemd:
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
name: certbot.timer
|
name: certbot.timer
|
||||||
|
Loading…
Reference in New Issue
Block a user