Initial commit

This commit is contained in:
Erik Westrup
2018-04-13 20:36:20 +02:00
commit aa7fdd0df9
11 changed files with 285 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# Source: https://serverfault.com/questions/876233/how-to-send-an-email-if-a-systemd-service-is-restarted
# Source: https://wiki.archlinux.org/index.php/Systemd/Timers#MAILTO
[Unit]
Description=Send status email for %i to user
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/systemd-email abc@gmail.com %i
User=root
Group=systemd-journal