diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-09-13 01:23:39 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-09-13 01:23:39 +1200 |
commit | ff020c0d672ac151c5f1e52ad2d04a8a45b071ee (patch) | |
tree | d7919cb3e99aeb2a3007e1b13251f27d8fd1b384 | |
parent | Add word to timer description for clarity (diff) | |
download | dotfiles-ff020c0d672ac151c5f1e52ad2d04a8a45b071ee.tar.gz dotfiles-ff020c0d672ac151c5f1e52ad2d04a8a45b071ee.zip |
Add timeout to mail notification unit
-rw-r--r-- | systemd/user/notify-email@.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/user/notify-email@.service b/systemd/user/notify-email@.service index 9293c423..c136effa 100644 --- a/systemd/user/notify-email@.service +++ b/systemd/user/notify-email@.service @@ -4,3 +4,4 @@ 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' +TimeoutStartSec=1m |