summaryrefslogtreecommitdiffstats
path: root/client/shared/scripts/runhttplog.sh
blob: 82115b14f3a07ff017b98ff7f67ce7cfb326e847 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

#httd-log-status
cp /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf.back
cp /opt/opengnsys/lib/httpd/lighttpd.conf /etc/lighttpd/
cp /etc/lighttpd/conf-enabled/10-cgi.conf /etc/lighttpd/conf-enabled/10-cgi.conf.back
cp /opt/opengnsys/lib/httpd/10-cgi.conf /etc/lighttpd/conf-enabled/
/etc/init.d/lighttpd start
chmod  755 /opt
cp /opt/opengnsys/lib/httpd/* /usr/lib/cgi-bin
#TODO: 
dstat -dn 10 > /tmp/bandwidth &
echo "WAITING" >> $OGLOGSESSION
# http-log-status