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,4 +1,4 @@
- name: "restart systemd-notifier-telegram service"
systemd:
name: systemd-notifier-telegram.service
name: systemd-notifier-telegram.cymais.service
daemon_reload: yes

View File

@@ -17,10 +17,10 @@
dest: "{{ systemd_telegram_script }}"
when: run_once_systemd_notifier_telegram is not defined
- name: configure systemd-notifier-telegram.service
- name: configure systemd-notifier-telegram.cymais.service
template:
src: systemd-notifier-telegram@.service.j2
dest: "/etc/systemd/system/systemd-notifier-telegram@.service"
dest: "/etc/systemd/system/systemd-notifier-telegram.cymais@.service"
notify: "restart systemd-notifier-telegram service"
when: run_once_systemd_notifier_telegram is not defined