Updates to fix certbot.service issues reloading
This commit is contained in:
parent
12d2ca9a1d
commit
a43cb4b6bb
@ -3,7 +3,8 @@ Description=Certbot
|
||||
|
||||
[Service]
|
||||
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
|
||||
Type=oneshot
|
||||
RemainAfterExit=no
|
||||
|
@ -22,6 +22,7 @@
|
||||
|
||||
- name: Enable timer
|
||||
when: services.changed
|
||||
become: yes
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
name: certbot.timer
|
||||
|
Loading…
Reference in New Issue
Block a user