-
-
Save ericandrewlewis/a8de0c91a248a9c6fbe5512cb0b23f96 to your computer and use it in GitHub Desktop.
Systemd Service file for no-ip.com dynamic ip 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 DUC (Dynamic Update Client) and create the configuration file | |
# as described on noip website https://my.noip.com/#!/dynamic-dns/duc | |
# 2) Copy this file noip2.service to /etc/systemd/system/ | |
# 3) Execute `sudo systemctl enable noip2` | |
# 4) Execute `sudo systemctl start noip2` | |
[Unit] | |
Description=No-ip.com Dynamic Update Client | |
Wants=network-online.target | |
After=network-online.target | |
After=syslog.target | |
[Install] | |
WantedBy=multi-user.target | |
[Service] | |
ExecStart=/usr/local/bin/noip2 | |
Restart=always | |
Type=forking |
I had to create the directories /etc/systemd/system/ because they were not there!
Everything working!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
very helpful, thanks!