diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-09-13 02:17:11 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-09-13 02:17:11 +1200 |
commit | c8d006aef5eea53538597493312f34ff54d3e7b1 (patch) | |
tree | 9af0b7d919f19a7e2d0b669435984be145dfad72 /systemd | |
parent | Add timeout to Newsboat reload service (diff) | |
download | dotfiles-c8d006aef5eea53538597493312f34ff54d3e7b1.tar.gz dotfiles-c8d006aef5eea53538597493312f34ff54d3e7b1.zip |
Use short `mail` options for compat with BSD mail
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/user/notify-email@.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/user/notify-email@.service b/systemd/user/notify-email@.service index c136effa..1368f2b9 100644 --- a/systemd/user/notify-email@.service +++ b/systemd/user/notify-email@.service @@ -3,5 +3,5 @@ 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' +ExecStart=sh -c 'systemctl --user status %i | mail -a "From: systemd" -a "X-systemd: %H %m %b" -s "[systemd] %i failure" %u' TimeoutStartSec=1m |