Skip to content

Instantly share code, notes, and snippets.

@Stadicus
Created March 9, 2018 13:33
Show Gist options
  • Save Stadicus/4d0dc338c9fe9430d2cc56087387fa6b to your computer and use it in GitHub Desktop.
Save Stadicus/4d0dc338c9fe9430d2cc56087387fa6b to your computer and use it in GitHub Desktop.
Thundroid: email alerting systemd unit
[Unit]
Description=Systemd Unit Mailer
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/systemd-sendmail.sh %i "Hostname: %H" "Machine ID: %m" "Boot ID: %b"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment