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

10 lines
174 B
Desktop File

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