aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-07-20 20:48:03 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-07-20 20:48:03 +1200
commit84cd4981fe1c82df69b7b82ece0b43225680a20b (patch)
tree188e62d81ef85fa8a31930543f7d2b4e4b7b44b4
parentAdd missing -p flags (diff)
downloaddotfiles-84cd4981fe1c82df69b7b82ece0b43225680a20b.tar.gz
dotfiles-84cd4981fe1c82df69b7b82ece0b43225680a20b.zip
Email on systemd-run is "completion" not "success"
-rw-r--r--systemd/user/run-.service.d/50-notify-email.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/user/run-.service.d/50-notify-email.conf b/systemd/user/run-.service.d/50-notify-email.conf
index ece1d93d..4042a05b 100644
--- a/systemd/user/run-.service.d/50-notify-email.conf
+++ b/systemd/user/run-.service.d/50-notify-email.conf
@@ -2,4 +2,4 @@
OnFailure=
[Service]
-ExecStopPost=sh -c 'systemctl --user status %n | mail -a "X-systemd: %H %m %b" -s "[systemd] %n success" %u'
+ExecStopPost=sh -c 'systemctl --user status %n | mail -a "X-systemd: %H %m %b" -s "[systemd] %n completed" %u'