Skip to content

Instantly share code, notes, and snippets.

@provegard
Created June 17, 2018 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save provegard/05660b0a18bb73241308f70cecfa728a to your computer and use it in GitHub Desktop.
Save provegard/05660b0a18bb73241308f70cecfa728a to your computer and use it in GitHub Desktop.
Systemd boot service for calling notify-up.sh
[Unit]
Description=Sends SMS to notify about system coming up
After=network.target
[Service]
ExecStart=/usr/local/bin/notify-up.sh
Type=oneshot
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment