* refactor: Change INSTALL_PREFIX placeholder notation to templating notation
The former shell notation `$INSTALL_PREFIX` could result confusing. As
this is a placeholder that's replaced in the `make`, we switch it to a
template notation `{{ INSTALL_PREFIX }}`.
* docs: Small fix on README/manual setup
* docs(email-notif): Document the `{{ INSTALL_PREFIX }}` placeholder
co-authored-by: giuaig <13609224+giuaig@users.noreply.github.com>
* Update README.md
Co-authored-by: Gerard Bosch <30733556+gerardbosch@users.noreply.github.com>
---------
Co-authored-by: giuaig <13609224+giuaig@users.noreply.github.com>
Co-authored-by: Erik Westrup <erik.westrup@icloud.com>
12 lines
350 B
Desktop File
12 lines
350 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={{ INSTALL_PREFIX }}/bin/systemd-email abc@gmail.com %i
|
|
User=root
|
|
Group=systemd-journal
|