12 lines
339 B
Desktop File
12 lines
339 B
Desktop File
# 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/bin/notify-send "Backup Status:" %i
|
|
User=lerentis
|
|
Group=systemd-journal
|