diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-07-20 20:48:03 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-07-20 20:48:03 +1200 |
commit | 84cd4981fe1c82df69b7b82ece0b43225680a20b (patch) | |
tree | 188e62d81ef85fa8a31930543f7d2b4e4b7b44b4 | |
parent | Add missing -p flags (diff) | |
download | dotfiles-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.conf | 2 |
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' |