[freeside-commits] freeside/init.d freeside-init,1.20,1.21
Ivan,,,
ivan at wavetail.420.am
Wed Aug 12 17:26:17 PDT 2009
Update of /home/cvs/cvsroot/freeside/init.d
In directory wavetail.420.am:/tmp/cvs-serv21642
Modified Files:
freeside-init
Log Message:
useful stuff for webdemo & profiling
Index: freeside-init
===================================================================
RCS file: /home/cvs/cvsroot/freeside/init.d/freeside-init,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- freeside-init 24 Jun 2009 18:36:31 -0000 1.20
+++ freeside-init 13 Aug 2009 00:26:15 -0000 1.21
@@ -8,6 +8,8 @@
SELFSERVICE_USER=%%%SELFSERVICE_USER%%%
SELFSERVICE_MACHINES="%%%SELFSERVICE_MACHINES%%%"
+IF=eth0
+
#INSTALLSCRIPT/INSTALLSITEBIN from Makefile.PL
PATH="$PATH:/usr/local/bin"
export PATH
@@ -20,6 +22,8 @@
echo -n "Starting freeside-queued: "
#perl -MDBIx::Profile /usr/local/bin/freeside-queued $QUEUED_USER
freeside-queued $QUEUED_USER
+ #export NYTPROF="file=/usr/local/etc/freeside/nytprof.out"
+ #PERL5OPT="-d:NYTProf" freeside-queued $QUEUED_USER
echo "done."
echo -n "Starting freeside-sqlradius-radacctd: "
@@ -44,6 +48,10 @@
echo "done."
done
+ #ip=`/sbin/ifconfig $IF | grep 'inet addr:' | cut -d: -f2- | cut -d' ' -f1`
+ #cp /opt/rt3/etc/RT_SiteConfig.pm.ORIG /opt/rt3/etc/RT_SiteConfig.pm
+ #perl -pi -e "s/localhost/$ip/" /opt/rt3/etc/RT_SiteConfig.pm
+
;;
stop)
# Stop daemons.
More information about the freeside-commits
mailing list