-
-
Save fmoledina/f6b0c977821e413129a350f3898db91d to your computer and use it in GitHub Desktop.
systemd for getpubip.sh
This file contains hidden or 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=getpubip.sh: get public ip address from ipinfo.io | |
After=network.target | |
[Service] | |
Type=oneshot | |
ExecStart=/opt/pubip/getpubip.sh | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment