From 418e9a4ae2b7b929b1e5ed2ca2e67849f0ec1e9f Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Thu, 14 Mar 2013 20:51:58 +0000 Subject: fix error in cron job defintion that got fixed in $top/rpkid/portal-gui/Makefile.in but not in the postinst script svn path=/trunk/; revision=5147 --- buildtools/debian-skeleton/rpki-ca.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildtools/debian-skeleton/rpki-ca.postinst b/buildtools/debian-skeleton/rpki-ca.postinst index adfc3601..57d0872c 100644 --- a/buildtools/debian-skeleton/rpki-ca.postinst +++ b/buildtools/debian-skeleton/rpki-ca.postinst @@ -63,7 +63,7 @@ setup_django() { } setup_cron() { - t=$(hexdump -n 1 -e '"%u"' /dev/urandom) && echo "$(($t % 60)) 0/2 * * * nobody /usr/share/rpki/routeviews.sh" > /etc/cron.d/rpkigui-routeviews + t=$(hexdump -n 1 -e '"%u"' /dev/urandom) && echo "$(($t % 60)) */2 * * * nobody /usr/share/rpki/routeviews.sh" > /etc/cron.d/rpkigui-routeviews chmod 644 /etc/cron.d/rpkigui-routeviews ln -sf /usr/sbin/rpkigui-check-expired /etc/cron.daily/rpkigui-check-expired } -- cgit v1.2.3