computer-playbook/roles/native-btrfs-health-check/files/btrfs-health-check.service

9 lines
221 B
Desktop File

[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