blob: 9293c4238add47745728f16851958867c1a65f48 (
plain) (
blame)
1
2
3
4
5
6
|
[Unit]
Description=unit status mailer service for %i
[Service]
Type=oneshot
ExecStart=sh -c 'systemctl --user status %i | mail --append="From: systemd" --append="X-systemd: %H %m %b" --subject="[systemd] %i failure" %u'
|