Last active
February 12, 2018 22:50
-
-
Save Stadicus/1e1d3800f33559940d6a388a95b5a2d8 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=getpublicip.sh: get public ip address from ipinfo.io | |
After=network.target | |
[Service] | |
User=root | |
Group=root | |
Type=simple | |
ExecStart=/usr/local/bin/getpublicip.sh | |
Restart=always | |
RestartSec=600 | |
TimeoutSec=10 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment