diff --git a/bsp/default/root_file_system/etc/rc.local.tpl b/bsp/default/root_file_system/etc/rc.local.tpl index 52eecf3..26f10d6 100755 --- a/bsp/default/root_file_system/etc/rc.local.tpl +++ b/bsp/default/root_file_system/etc/rc.local.tpl @@ -18,6 +18,9 @@ ntpd -p ${NTPD_IP} mkdir /tmp/crawldata httpd -h /tmp/crawldata +# serve the 30s-cached output of "report.sh gzip" on port 81 with max 1 request/s +/etc/serve.sh 81 1 "/etc/cache.sh 30 /etc/report.sh gzip" + touch /tmp/started exit 0