system-helpers/etc/systemd/system/disk_space_alert.service

10 lines
170 B
Desktop File

[Unit]
Description=Run disk_space_alert
OnFailure=systemd_failure_notify@%n.service
[Service]
Type=oneshot
ExecStart=disk_space_alert
[Install]
WantedBy=default.target