Skip to content

Instantly share code, notes, and snippets.

@dragouf
Created October 29, 2017 17:53
Show Gist options
  • Save dragouf/3745a74a4ba23a58e1ac996dc4f690ff to your computer and use it in GitHub Desktop.
Save dragouf/3745a74a4ba23a58e1ac996dc4f690ff to your computer and use it in GitHub Desktop.
amazon dash handler as a service
[Unit]
Description = Handle amazon dash button click
After = network.target
[Service]
ExecStart = /mnt/dietpi_userdata/amazon-dash.sh > /dev/null
[Install]
WantedBy = multi-user.target
# to put inside /etc/systemd/system/
systemctl enable amazondash.service
systemctl start amazondash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment