Created
August 11, 2017 21:57
-
-
Save stabastian/ea2aa0a246768174b05eeea92b6d0ae3 to your computer and use it in GitHub Desktop.
Simple No-ip.com Dynamic DNS Updater
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
# Simple No-ip.com Dynamic DNS Updater | |
# | |
# 1) Install binary as described in no-ip.com's source file (assuming results in /usr/local/bin) | |
# 2) Run sudo /usr/local/bin/noip2 -C to generate configuration file | |
# 3) Copy this file noip2.service to /etc/systemd/system/ | |
# 4) Execute `sudo systemctl enable noip2` | |
# 5) Execute `sudo systemctl start noip2` | |
# | |
# systemd supports lots of fancy features, look here (and linked docs) for a full list: | |
# http://www.freedesktop.org/software/systemd/man/systemd.exec.html | |
[Unit] | |
Description=No-ip.com dynamic IP address updater | |
After=network.target | |
After=syslog.target | |
[Install] | |
WantedBy=multi-user.target | |
Alias=noip.service | |
[Service] | |
# Start main service | |
ExecStart=/usr/local/bin/noip2 | |
Restart=always | |
Type=forking |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment