diff --git a/README.md b/README.md index b124290..4ae69c9 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/init/update-ipv4.service b/init/update-ipv4.service index ef7d0c3..f9d1924 100644 --- a/init/update-ipv4.service +++ b/init/update-ipv4.service @@ -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 diff --git a/init/update-ipv6.service b/init/update-ipv6.service index ceb41ed..e71ab29 100644 --- a/init/update-ipv6.service +++ b/init/update-ipv6.service @@ -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