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 <[email protected]> for noticing that builtin
functionality.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to