Skip to content

Instantly share code, notes, and snippets.

@alanmatiasdev
Forked from NathanGiesbrecht/noip2.service
Created September 8, 2021 22:59
Show Gist options
  • Save alanmatiasdev/21fdf7605dd315198e6ca87dd4b0c5df to your computer and use it in GitHub Desktop.
Save alanmatiasdev/21fdf7605dd315198e6ca87dd4b0c5df to your computer and use it in GitHub Desktop.

Revisions

  1. @NathanGiesbrecht NathanGiesbrecht revised this gist Aug 25, 2019. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions noip2.service
    Original file line number Diff line number Diff line change
    @@ -5,8 +5,9 @@
    # 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`
    # 4) Execute `sudo systemctl daemon-reload`
    # 5) Execute `sudo systemctl enable noip2`
    # 6) 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
  2. @NathanGiesbrecht NathanGiesbrecht revised this gist Apr 13, 2016. No changes.
  3. @NathanGiesbrecht NathanGiesbrecht created this gist Apr 2, 2016.
    27 changes: 27 additions & 0 deletions noip2.service
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    # Simple No-ip.com Dynamic DNS Updater
    #
    # By Nathan Giesbrecht (http://nathangiesbrecht.com)
    #
    # 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