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,5 +1,5 @@
- name: "reload health-btrfs.service"
- name: "reload health-btrfs.cymais.service"
systemd:
name: health-btrfs.service
name: health-btrfs.cymais.service
enabled: yes
daemon_reload: yes

View File

@@ -9,11 +9,11 @@
src: health-btrfs.sh
dest: "{{docker_health_btrfs_folder}}health-btrfs.sh"
- name: create health-btrfs.service
- name: create health-btrfs.cymais.service
template:
src: health-btrfs.service.j2
dest: /etc/systemd/system/health-btrfs.service
notify: reload health-btrfs.service
dest: /etc/systemd/system/health-btrfs.cymais.service
notify: reload health-btrfs.cymais.service
- name: set service_name to the name of the current role
set_fact:

View File

@@ -1,6 +1,6 @@
[Unit]
Description=Check btrfs status
OnFailure=systemd-notifier@%n.service
OnFailure=systemd-notifier.cymais@%n.service
[Service]
Type=oneshot