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,7 +1,7 @@
---
- name: "restart deploy-letsencrypt-mailu.service"
- name: "restart deploy-letsencrypt-mailu.cymais.service"
systemd:
name: deploy-letsencrypt-mailu.service
name: deploy-letsencrypt-mailu.cymais.service
state: restarted
enabled: yes
daemon_reload: yes

View File

@@ -48,11 +48,11 @@
src: "deploy-letsencrypt-mailu.sh.j2"
dest: "{{path_administrator_scripts}}mailu/deploy-letsencrypt-mailu.sh"
- name: configure deploy-letsencrypt-mailu.service
- name: configure deploy-letsencrypt-mailu.cymais.service
template:
src: "deploy-letsencrypt-mailu.service.j2"
dest: "/etc/systemd/system/deploy-letsencrypt-mailu.service"
notify: restart deploy-letsencrypt-mailu.service
dest: "/etc/systemd/system/deploy-letsencrypt-mailu.cymais.service"
notify: restart deploy-letsencrypt-mailu.cymais.service
- name: "include role for systemd-timer for {{service_name}}"
include_role:

View File

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