diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-05-19 10:30:07 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-05-19 10:30:07 +1200 |
commit | 2bd055a49e0e5840ab49c0bf137bb0d9a1caec92 (patch) | |
tree | f985466da0e87600cbfa5f6963d3c50b30bae4dc /systemd | |
parent | Correct name of logrotate config file for xsession (diff) | |
download | dotfiles-2bd055a49e0e5840ab49c0bf137bb0d9a1caec92.tar.gz dotfiles-2bd055a49e0e5840ab49c0bf137bb0d9a1caec92.zip |
Override all systemd unit services for mail fail
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/user/notify-email@.service.d/50-notify-email.conf | 2 | ||||
-rw-r--r-- | systemd/user/service.d/50-notify-email.conf | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/systemd/user/notify-email@.service.d/50-notify-email.conf b/systemd/user/notify-email@.service.d/50-notify-email.conf new file mode 100644 index 00000000..dc548c73 --- /dev/null +++ b/systemd/user/notify-email@.service.d/50-notify-email.conf @@ -0,0 +1,2 @@ +[Unit] +OnFailure= diff --git a/systemd/user/service.d/50-notify-email.conf b/systemd/user/service.d/50-notify-email.conf new file mode 100644 index 00000000..11b8b2f2 --- /dev/null +++ b/systemd/user/service.d/50-notify-email.conf @@ -0,0 +1,2 @@ +[Unit] +OnFailure=notify-email@%N.service |