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