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 cleanup-failed-docker-backups.service daemon"
- name: "reload cleanup-failed-docker-backups.cymais.service daemon"
systemd:
name: cleanup-failed-docker-backups.service
name: cleanup-failed-docker-backups.cymais.service
enabled: yes
daemon_reload: yes

View File

@@ -6,11 +6,11 @@
ignore_errors: true
when: run_once_cleanup_failed_docker_backups is not defined
- name: configure cleanup-failed-docker-backups.service
- name: configure cleanup-failed-docker-backups.cymais.service
template:
src: cleanup-failed-docker-backups.service.j2
dest: /etc/systemd/system/cleanup-failed-docker-backups.service
notify: reload cleanup-failed-docker-backups.service daemon
dest: /etc/systemd/system/cleanup-failed-docker-backups.cymais.service
notify: reload cleanup-failed-docker-backups.cymais.service daemon
when: run_once_cleanup_failed_docker_backups is not defined
- name: set service_name to the name of the current role

View File

@@ -1,6 +1,6 @@
[Unit]
Description=Cleaning up failed docker volume backups
OnFailure=systemd-notifier@%n.service
OnFailure=systemd-notifier.cymais@%n.service
[Service]
Type=oneshot