[freeside-commits] freeside/init.d freeside-init,1.22,1.23
Ivan,,,
ivan at wavetail.420.am
Sat Feb 26 18:23:02 PST 2011
Update of /home/cvs/cvsroot/freeside/init.d
In directory wavetail.420.am:/tmp/cvs-serv29393/init.d
Modified Files:
freeside-init
Log Message:
add start of torrus srvderive daemon, RT#10574
Index: freeside-init
===================================================================
RCS file: /home/cvs/cvsroot/freeside/init.d/freeside-init,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -w -d -r1.22 -r1.23
--- freeside-init 16 Jun 2010 21:53:24 -0000 1.22
+++ freeside-init 27 Feb 2011 02:23:00 -0000 1.23
@@ -52,6 +52,10 @@
freeside-selfservice-xmlrpcd $SELFSERVICE_USER
echo "done."
+ echo -n "Starting freeside-torrus-srvderive: "
+ freeside-torrus-srvderive $QUEUED_USER
+ echo "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
@@ -114,6 +118,12 @@
echo "done."
fi
+ if [ -e /var/run/freeside/torrus-srvderive.pid ]; then
+ echo -n "Stopping freeside-torrus-srvderive: "
+ kill `cat /var/run/freeside/torrus-srvderive.pid`
+ echo "done."
+ fi
+
;;
restart)
More information about the freeside-commits
mailing list