Created
October 29, 2017 17:53
-
-
Save dragouf/3745a74a4ba23a58e1ac996dc4f690ff to your computer and use it in GitHub Desktop.
amazon dash handler as a service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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