[freeside-commits] freeside/init.d freeside-init, 1.13.2.3, 1.13.2.4
Ivan,,,
ivan at wavetail.420.am
Wed Aug 12 17:26:18 PDT 2009
Update of /home/cvs/cvsroot/freeside/init.d
In directory wavetail.420.am:/tmp/cvs-serv21649
Modified Files:
Tag: FREESIDE_1_7_BRANCH
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.13.2.3
retrieving revision 1.13.2.4
diff -u -d -r1.13.2.3 -r1.13.2.4
--- freeside-init 4 Jan 2009 22:07:17 -0000 1.13.2.3
+++ freeside-init 13 Aug 2009 00:26:16 -0000 1.13.2.4
@@ -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
@@ -19,6 +21,8 @@
# Start daemons.
echo -n "Starting freeside-queued: "
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: "
@@ -35,6 +39,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