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: "restart systemd-notifier service"
systemd:
name: systemd-notifier.service
name: systemd-notifier.cymais.service
daemon_reload: yes
when: run_once_systemd_notifier_service is not defined

View File

@@ -1,8 +1,8 @@
---
- name: configure systemd-notifier@.service
- name: configure systemd-notifier.cymais@.service
template:
src: systemd-notifier@.service.j2
dest: "/etc/systemd/system/systemd-notifier@.service"
dest: "/etc/systemd/system/systemd-notifier.cymais@.service"
notify: "restart systemd-notifier service"
when: run_once_systemd_notifier_service is not defined

View File

@@ -3,6 +3,6 @@ Description=Notifier for %i
[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl start systemd-notifier-telegram@%i.service systemd-notifier-email@%i.service
ExecStart=/usr/bin/systemctl start systemd-notifier-telegram.cymais@%i.service systemd-notifier-email.cymais@%i.service
User=root
Group=systemd-journal