Created
March 9, 2017 09:26
-
-
Save metzenseifner/eeb0032f678078255b807fb8e297c68c to your computer and use it in GitHub Desktop.
beacon.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=Make my IP known. Send results of $(ip a) to another machine over ssh as a text file prefixed with "beacon-". | |
After=network.target | |
[Service] | |
ExecStart=/bin/sh /usr/local/sbin/beacon.sh | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment