forked from freifunk-franken/firmware
Serve cached gzipped reports on port 81
This commit is contained in:
parent
bb2dae42ea
commit
6f1b52d393
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user