Skip to content

Instantly share code, notes, and snippets.

@mook
Created October 18, 2017 04:25
Show Gist options
  • Save mook/5c5fc9f81cfc67812b392e2fe725e481 to your computer and use it in GitHub Desktop.
Save mook/5c5fc9f81cfc67812b392e2fe725e481 to your computer and use it in GitHub Desktop.
Afraid.org Dynamic DNS updating units
[Unit]
Description=Afraid.org Dynamic DNS Updater
Documentation=http://freedns.afraid.org/
Requisite=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/curl --silent http://sync.afraid.org/u/%i/
Nice=19
[Unit]
Description=Afraid.org Dynamic DNS Updates
Documentation=http://freedns.afraid.org/
[Timer]
OnBootSec=15min
AccuracySec=15min
[Install]
WantedBy=timers.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment