/lib/systemd/system/cron-failure@.service is in systemd-cron 1.5.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | [Unit]
Description=systemd-cron OnFailure for %i
Documentation=man:systemd.cron(7)
RefuseManualStart=true
RefuseManualStop=true
ConditionFileIsExecutable=/usr/sbin/sendmail
[Service]
Type=oneshot
ExecStart=/lib/systemd-cron/mail_on_failure %i
User=nobody
Group=systemd-journal
|