aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-09-13 02:17:11 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-09-13 02:17:11 +1200
commitc8d006aef5eea53538597493312f34ff54d3e7b1 (patch)
tree9af0b7d919f19a7e2d0b669435984be145dfad72
parentAdd timeout to Newsboat reload service (diff)
downloaddotfiles-c8d006aef5eea53538597493312f34ff54d3e7b1.tar.gz
dotfiles-c8d006aef5eea53538597493312f34ff54d3e7b1.zip
Use short `mail` options for compat with BSD mail
-rw-r--r--systemd/user/notify-email@.service2
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