Skip to content

Instantly share code, notes, and snippets.

@ethzero
Last active May 16, 2022 20:09
Show Gist options
  • Save ethzero/2364ff13f3938717e8b43d22c130f680 to your computer and use it in GitHub Desktop.
Save ethzero/2364ff13f3938717e8b43d22c130f680 to your computer and use it in GitHub Desktop.
/etc/systemd/system/boot-notification.service
# Installation:
# sudo wget "<this file>" -O /etc/systemd/system/boot-notification.service
# sudo systemctl daemon-reload
# sudo systemctl enable boot-notification.service
# sudo systemctl list-unit-files | grep 'boot-notification.service'
[Unit]
Description=Boot Notification
After=network-online.target
Wants=network-online.target
[Service]
Type=idle
ExecStart=/usr/local/bin/send-pushbullet.sh -b
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment