Package Details: freedns-daemon 1-4

Git Clone URL: https://aur.archlinux.org/freedns-daemon.git (read-only)
Package Base: freedns-daemon
Description: Lighweight, barebone and almost dependency free daemon for freedns.afraid.org
Upstream URL: http://www.github.com/lestofante/freedns
Keywords: freedns
Licenses: GPL
Submitter: lesto
Maintainer: lesto
Last Packager: lesto
Votes: 2
Popularity: 0.000000
First Submitted: 2013-03-25 22:05
Last Updated: 2015-06-08 21:13

Required by (0)

Sources (3)

  • freedns-daemon.install
  • freedns-daemon.service
  • freedns-daemon.sh

Latest Comments

vostok4 commented on 2016-07-17 13:00

Is it possible to update the version in the AUR to match the PKGBUILD? Aurget yells everytime it checks for updates due to that.

lesto commented on 2015-06-08 21:22

upgraded to aur4, meanwhile added some little improvement:

1. moved the URL to file
/etc/freedns-daemon/urls

2. support for multiple urls! (one per line) and you can comment them out with # (like a bash comment)

3. use curl instead of wget, as curl seems more standard in the arch repository

4. the file url can be overrided if you manually launch freedns-daemon.sh using as parameter another file.

sorry for any inconvenience that changes may cause, but not it should follow the community guideline

have a nice year!

lesto commented on 2013-10-16 21:36

than you msx for the segnalation, and thank you msthev fo r the response, i was confident about the folder choosed at the time of the package, but i didn't found the "prof" of it anywhere, so i had open a post on the forum; https://bbs.archlinux.org/viewtopic.php?id=171461

jzuxrdoBUdGS commented on 2013-10-16 21:29

> In the past I've lost some units by placing them there as the systemd package tramples /usr/lib/systemd on every upgrade.
The only situation where things done in this directory are lost is when you edit an existing file which belongs to a package. There is no way a package upgrade would remove files not belonging to this package, unless it does so in the install script (but systemd package doesn't do such thing).
/usr/lib/systemd is the *only* proper place for units supplied by packages; /etc/systemd is meant to be used for local configuration (custom unit files, overrides, etc.).
For more information consult systemd.unit(5), section Unit Load Path. You can also look at how other packages do this (`pacman -Ql | grep ' .*/systemd/system'`).

msx commented on 2013-10-14 23:11

Hey @lesto, thanks a lot for the package, works quite well ^^
However I noticed that you install:
cp freedns-daemon.service "$pkgdir/usr/lib/systemd/system/"

shouldn't the service file be installed to /etc/systemd/system instead?
In the past I've lost some units by placing them there as the systemd package tramples /usr/lib/systemd on every upgrade.

Cheers!

lesto commented on 2013-10-09 18:16

BTW you can check if the process is running and what it is its log by running:

journalctl -b

you'll see something similar:
ago 24 12:16:22 alarmpi freedns-daemon.sh[193]: ERROR: Address 78.12.189.59 has not changed.
ago 24 13:16:24 alarmpi freedns-daemon.sh[193]: ERROR: Address 78.12.189.59 has not changed.
ago 24 14:16:25 alarmpi freedns-daemon.sh[193]: ERROR: Address 78.12.189.59 has not changed.
ago 24 15:16:26 alarmpi freedns-daemon.sh[193]: Updated 1 host(s) XXX.XXX.XXX to 78.12.149.150 in 0.024 sec
ago 24 16:16:27 alarmpi freedns-daemon.sh[193]: ERROR: Address 78.12.149.150 has not changed.

lesto commented on 2013-08-31 22:19

i'velookendin all file system, and i didn't find the output file.
The intended beaviur is to keep the last wget for debug pupoise.

Epileftric commented on 2013-08-28 16:18

add "-O /dev/null" to the command so you don't create any files in the filesystem.

lesto commented on 2013-06-15 10:08

2013-06-15 10:06 - changed to reflect changes in filesystem, see https://www.archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/

lesto commented on 2013-03-25 22:11

If you are tired of big and complicated daemon just for setting up a freedns client, try this.

Depends only on wget and bash, also provide systemd freedns-daemon.service to automate the start-up.

just edit /usr/sbin/freedns-daemon.sh with your DirectUrl (or any other URL!) setup the daemon and you are done!