# Triggered by pkgwatch.service's OnFailure=. Covers what the in-process # notifier can't: a verification failure, build failure, or network error # exits non-zero, and that would otherwise only show up in the journal. [Unit] Description=Notify that a pkgwatch run failed [Service] Type=oneshot # Absolute path: systemd requires one, unlike the in-process notifier, # which resolves notify-send from PATH. ExecStart=/usr/bin/notify-send --app-name=pkgwatch --urgency=critical "pkgwatch run failed" "See: journalctl --user -u pkgwatch.service"