FreeBSD Port: noip-2.1.9_3

Stanislaw Halik sthalik at tehran.lain.pl
Tue Sep 13 16:27:14 UTC 2016


On 2016-09-13 Tue 18:02, Stanislaw Halik wrote:
> It's also necessary to
>
> #define FORCE_UPDATE 1
>
> But keep in mind that the interval is accounted for only during process'
> stay in memory. It doesn't work like "anacron" and the like. I'd like to
> send a maintainer update with an interval of just a few days.

If you add the two changes, also consider line 364:

int     Force_Update            =       FORCE_INTERVAL;

Change this to

int     Force_Update            =       -1;

Then the daemon will force an update whenever it's started (e.g. system 
start).

sh

> -#define FORCE_UPDATE           0
> +#define FORCE_UPDATE           1
>
> -#define FORCE_INTERVAL         (1440 * 30)     // 30 days in minutes
> +#define FORCE_INTERVAL         (1440 * 7)      // 7 days in minutes
>
> Kudos to olli hauer <ohauer at gmx.de> for noticing that builtin
> functionality.


More information about the freebsd-ports mailing list