diff options
author | Michael Elkins <melkins@tislabs.com> | 2013-03-14 20:51:58 +0000 |
---|---|---|
committer | Michael Elkins <melkins@tislabs.com> | 2013-03-14 20:51:58 +0000 |
commit | 418e9a4ae2b7b929b1e5ed2ca2e67849f0ec1e9f (patch) | |
tree | 940f1886b70bc8362420f1d1e11720cfe9a82d10 /buildtools/debian-skeleton | |
parent | d760f20f9c04f48da9c081826ed7e74cc741dc7a (diff) |
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
Diffstat (limited to 'buildtools/debian-skeleton')
-rw-r--r-- | buildtools/debian-skeleton/rpki-ca.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |