Skip to content

Instantly share code, notes, and snippets.

@ericandrewlewis
Forked from NathanGiesbrecht/noip2.service
Last active May 17, 2021 03:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ericandrewlewis/a8de0c91a248a9c6fbe5512cb0b23f96 to your computer and use it in GitHub Desktop.
Save ericandrewlewis/a8de0c91a248a9c6fbe5512cb0b23f96 to your computer and use it in GitHub Desktop.
Systemd Service file for no-ip.com dynamic ip updater
# 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
@sromano1992
Copy link

very helpful, thanks!

@ejw2600
Copy link

ejw2600 commented Dec 14, 2020

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