Added .cymais.service suffix to make cymais files more visible

This commit is contained in:
2024-01-10 11:18:38 +01:00
parent f3ce00dca7
commit b7e3a7f838
68 changed files with 144 additions and 132 deletions

View File

@@ -1,6 +1,6 @@
- name: "reload certbot service"
systemd:
name: nginx-certbot.service
name: nginx-certbot.cymais.service
state: reloaded
enabled: yes
daemon_reload: yes

View File

@@ -4,10 +4,10 @@
state: present
when: run_once_nginx_certbot is not defined
- name: configure nginx-certbot.service
- name: configure nginx-certbot.cymais.service
template:
src: nginx-certbot.service.j2
dest: /etc/systemd/system/nginx-certbot.service
dest: /etc/systemd/system/nginx-certbot.cymais.service
notify: reload certbot service
when: run_once_nginx_certbot is not defined

View File

@@ -1,6 +1,6 @@
[Unit]
Description=Let's Encrypt renewal
OnFailure=systemd-notifier@%n.service
OnFailure=systemd-notifier.cymais@%n.service
[Service]
Type=oneshot