* [Bismark-commits] rev 331 - trunk/mserver/etc trunk/mserver/scripts
@ 2011-04-28 16:10 walter
0 siblings, 0 replies; only message in thread
From: walter @ 2011-04-28 16:10 UTC (permalink / raw)
To: bismark-commits
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-04-28 16:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-28 16:10 [Bismark-commits] rev 331 - trunk/mserver/etc trunk/mserver/scripts walter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox