[freeside-commits] freeside/init.d freeside-init,1.21,1.22
Ivan,,,
ivan at wavetail.420.am
Wed Jun 16 14:53:26 PDT 2010
Update of /home/cvs/cvsroot/freeside/init.d
In directory wavetail.420.am:/tmp/cvs-serv31147/init.d
Modified Files:
freeside-init
Log Message:
a local XML-RPC server for ncic: daemonize and respond to TERM, RT#7780
Index: freeside-init
===================================================================
RCS file: /home/cvs/cvsroot/freeside/init.d/freeside-init,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -w -d -r1.21 -r1.22
--- freeside-init 13 Aug 2009 00:26:15 -0000 1.21
+++ freeside-init 16 Jun 2010 21:53:24 -0000 1.22
@@ -48,6 +48,10 @@
echo "done."
done
+ echo -n "Starting freeside-selfservice-xmlrpcd: "
+ freeside-selfservice-xmlrpcd $SELFSERVICE_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
@@ -104,6 +108,12 @@
fi
done
+ if [ -e /var/run/freeside/selfservice-xmlrpcd.pid ]; then
+ echo -n "Stopping freeside-selfservice-xmlrpcd: "
+ kill `cat /var/run/freeside/selfservice-xmlrpcd.pid`
+ echo "done."
+ fi
+
;;
restart)
More information about the freeside-commits
mailing list