mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Added .cymais.service suffix to make cymais files more visible
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=Let's Encrypt renewal
|
||||
OnFailure=systemd-notifier@%n.service
|
||||
OnFailure=systemd-notifier.cymais@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
Reference in New Issue
Block a user