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: "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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user