filiparag / hetzner_ddns

Hetzner Dynamic DNS (DDNS, DynDNS) daemon
BSD 2-Clause "Simplified" License
56 stars 9 forks source link

Ability to use multiple configuration instances for systemd service. #1

Closed rjahanbakhshi closed 1 year ago

rjahanbakhshi commented 2 years ago

This is a simple change to allow the user to define multiple systemd service configuration instances for each domain. Basically, the user can create multiple configurations with the name formatted as hetzner_ddns.example.com.conf and start the corresponding systemd service like this: systemctl start hetzner_ddns@example.com.service

I didn't have the time to update the man page and markup documentation yet. If nobody does it, I might be able to send the changes for documentation too.

I also tested it with the current AUR package and multiple domains and it's working correctly. The older configuration mechanism is not changed so this change is backward compatible.

filiparag commented 1 year ago

Thanks for your contribution!

filiparag commented 1 year ago

I accidentally closed the PR and GitHub UI won't let me reopen it. Please make any commit to make it allow me.

rjahanbakhshi commented 1 year ago

Hi, I rebased the branch and created another pull request for this. https://github.com/filiparag/hetzner_ddns/pull/3