Updated systemd init scripts and documentation

master
Eric Renfro 5 years ago
parent 52546805ad
commit f97da29cee
  1. 6
      README.md
  2. 4
      init/update-ipv4.service
  3. 4
      init/update-ipv6.service

@ -73,6 +73,12 @@ systemctl --user enable update-ipv6.service
This will enable and start the timer, and enable the services for the dynamic-ip.target for your user account.
# Plugins
dynamic-ip uses a plugin type architecture to allow you to define many other detections to perform, and how and when to perform them. These core plugins are stored in the dynamic-ip/plugins directory. update-ipv4 and ipdate-ipv6 are provided for checking for changes to IPv4 and IPv6 addresses and running the update.d agents upon such changes.
You can create your own plugins to do other detections. One such example would be to detect if a locally stored attribute variable form aother piece of software differs from the current DNS records. One such case this may be useful is with shorewall's params file, and if that differs, change the value in the file and re-run shorewall to apply the changes.
# Agents
The agents included work with Route53 and AWS Security Groups. Though you can use these as baselines for creating any other kind of agents for your own needs, these agents are fully functional for the purposes they were designed as-is.

@ -3,8 +3,8 @@ Description=Updates IPv4 with external DNS
Wants=dynamic-ip.timer
[Service]
EnvironmentFile=/etc/sysconfig/dynamic-ip-update
ExecStart=/etc/dynamic-ip/update-ipv4 ${DOMAIN_NAME}
EnvironmentFile=/etc/sysconfig/dynamic-ip
ExecStart=/etc/dynamic-ip/dynamic-ip update-ipv4 ${DOMAIN_NAME}
[Install]
WantedBy=dynamic-ip-update.target

@ -3,8 +3,8 @@ Description=Updates IPv6 with external DNS
Wants=dynamic-ip.timer
[Service]
EnvironmentFile=/etc/sysconfig/dynamic-ip-update
ExecStart=/etc/dynamic-ip/update-ipv6 ${DOMAIN_NAME}
EnvironmentFile=/etc/sysconfig/dynamic-ip
ExecStart=/etc/dynamic-ip/dynamic-ip update-ipv6 ${DOMAIN_NAME}
[Install]
WantedBy=dynamic-ip-update.target

Loading…
Cancel
Save