Serve cached gzipped reports on port 81
This commit is contained in:
parent
bb2dae42ea
commit
6f1b52d393
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ ntpd -p ${NTPD_IP}
|
||||||
mkdir /tmp/crawldata
|
mkdir /tmp/crawldata
|
||||||
httpd -h /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
|
touch /tmp/started
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue