mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Renamed health services
This commit is contained in:
7
roles/health-btrfs/templates/health-btrfs.service.j2
Normal file
7
roles/health-btrfs/templates/health-btrfs.service.j2
Normal file
@@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description=Check btrfs status
|
||||
OnFailure=systemd-notifier@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/bash {{docker_btrfs_health_check_folder}}health-btrfs.sh
|
10
roles/health-btrfs/templates/health-btrfs.timer.j2
Normal file
10
roles/health-btrfs/templates/health-btrfs.timer.j2
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=starts health-btrfs.service
|
||||
|
||||
[Timer]
|
||||
OnCalendar={{on_calendar_btrfs_health_check}}
|
||||
RandomizedDelaySec={{randomized_delay_sec}}
|
||||
Persistent=false
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Reference in New Issue
Block a user