maxisoft / Freenom-dns-updater

A tool to update freenom's dns records
MIT License
169 stars 49 forks source link

freenom-dns-updater.service #8

Open cferoiu opened 7 years ago

cferoiu commented 7 years ago

Hi, good work. I use debian jessie. U need to modify something:

[Service] ExecStart=/usr/local/bin/fdu process -c -i -t 900 /etc/freenom.yml

-i find fdu app. in /usr/local/bin/ -you forgott -t parameter

I hope is useful my notifications.

benthetechguy commented 2 years ago

This is not neccesary.

  1. fdu could be located anywhere. /usr/local/bin is simply the location fdu is installed to by pip run as root. If you install it with pip run as your normal user, it would be in ~/.local/bin/fdu. If you install the freenom-dns-updater Debian or AUR packages, it goes to /usr/bin. I think /usr/bin is the best bet because it's where proper package managers install to.
  2. -t is not a required parameter. As seen in this line of fdu, it defaults to 1 hour if not specified.