mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-26 20:15:04 +01:00
9 lines
221 B
SYSTEMD
9 lines
221 B
SYSTEMD
|
[Unit]
|
||
|
Description=Check btrfs status
|
||
|
OnFailure=systemd-email@%n.service
|
||
|
OnSuccess=systemd-email@%n.service
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStart=/bin/bash /home/administrator/scripts/btrfs-health-check/btrfs-health-check.sh
|