From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from svn.comics.unina.it (unknown [143.225.229.147]) by huchra.bufferbloat.net (Postfix) with ESMTP id 1D01E20191A for ; Thu, 28 Apr 2011 09:08:17 -0700 (PDT) Received: from www-data by svn.comics.unina.it with local (Exim 4.69) (envelope-from ) id 1QFTnQ-0005Xc-SJ for bismark-commits@lists.bufferbloat.net; Thu, 28 Apr 2011 18:10:28 +0200 To: bismark-commits@lists.bufferbloat.net From: walter@svn.comics.unina.it Message-Id: Date: Thu, 28 Apr 2011 18:10:28 +0200 Subject: [Bismark-commits] rev 331 - trunk/mserver/etc trunk/mserver/scripts X-BeenThere: bismark-commits@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Commit log for the bismark source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2011 16:08:18 -0000 Author: walter Date: 2011-04-28 18:10:28 +0200 (Thu, 28 Apr 2011) New Revision: 331 Added: trunk/mserver/scripts/itg_up trunk/mserver/scripts/reload Modified: trunk/mserver/etc/mserver.conf trunk/mserver/scripts/setup_mlab Log: mserver beta Modified: trunk/mserver/etc/mserver.conf =================================================================== --- trunk/mserver/etc/mserver.conf 2011-04-28 10:21:30 UTC (rev 330) +++ trunk/mserver/etc/mserver.conf 2011-04-28 16:10:28 UTC (rev 331) @@ -3,7 +3,7 @@ IFNAME=eth0 # Web server options -HTTP_PORT=8080 +HTTP_PORT=8081 # D-ITG options ITG_DW_PORT=1430 Added: trunk/mserver/scripts/itg_up =================================================================== --- trunk/mserver/scripts/itg_up (rev 0) +++ trunk/mserver/scripts/itg_up 2011-04-28 16:10:28 UTC (rev 331) @@ -0,0 +1,11 @@ +#!/bin/bash + +# Load configuration +. ~/etc/mserver.conf + +if [ $ITG_UP_PORT -le 1024 ]; then + ( sudo ~/bin/ITGRecv -Si $IFNAME -Sp $ITG_UP_PORT >> /tmp/itg.log 2>&1 & ) +else + ( ~/bin/ITGRecv -Si $IFNAME -Sp $ITG_UP_PORT >> /tmp/itg.log 2>&1 & ) +fi + Property changes on: trunk/mserver/scripts/itg_up ___________________________________________________________________ Name: svn:executable + * Added: trunk/mserver/scripts/reload =================================================================== --- trunk/mserver/scripts/reload (rev 0) +++ trunk/mserver/scripts/reload 2011-04-28 16:10:28 UTC (rev 331) @@ -0,0 +1,12 @@ +#!/bin/bash + +echo -n "Stopping all services..." +sudo killall probeserver ITGRecv socat +echo "done" + +sleep 2 + +echo -n "Restarting services..." +~/scripts/daemons +echo "done" + Property changes on: trunk/mserver/scripts/reload ___________________________________________________________________ Name: svn:executable + * Modified: trunk/mserver/scripts/setup_mlab =================================================================== --- trunk/mserver/scripts/setup_mlab 2011-04-28 10:21:30 UTC (rev 330) +++ trunk/mserver/scripts/setup_mlab 2011-04-28 16:10:28 UTC (rev 331) @@ -1,10 +1,21 @@ #!/bin/sh -sudo yum -y install socat +# Load configuration +. ~/etc/mserver.conf -# lighttpd php-cli-5.2.6-2.fc8.i386 -# echo "cgi.fix_pathinfo = 1" >> /etc/php.ini +sudo yum -y install socat -# decommenta fcgi in lighttpd.conf +# HTTP stuff (work in progress) +# lighttpd lighttpd-fastcgi php-cli +#echo "cgi.fix_pathinfo = 1" | sudo tee /etc/php.ini +#[ -e /etc/lighttpd/lighttpd.conf.old ] || sudo mv /etc/lighttpd/lighttpd.conf{.old,} +#sudo sed -i.old -f - /etc/lighttpd/lighttpd.conf <<-END +# /"mod_fastcgi"/ s/^#// +# /^server.document-root/ s/^/#/ +# /^#server.document-root/ a server.document-root = "$HOME/www/" +# /^#server.port/ a server.port = $HTTP_PORT +#END +#sudo chmod 777 $HOME +#sudo /etc/init.d/lighttpd start crontab ~/etc/crontab