Subversion Repositories SmartDukaan

Rev

Rev 3162 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3162 Rev 3915
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
 
2
 
3
PROJECT_DIR="${HOME}/code/trunk"
3
#PROJECT_DIR="${HOME}/code/trunk"
4
LOGDIR="${PROJECT_DIR}/runutils"
4
#LOGDIR="${PROJECT_DIR}/runutils"
5
 
5
#
6
export PYTHONPATH=${PROJECT_DIR}/PyProj/src:${PROJECT_DIR}/ThriftConfigPy/src:/usr/lib/pymodules/python2.6:/usr/lib/pymodules/python2.6/gtk-2.0:/usr/lib/python2.6:/usr/lib/python2.6/dist-packages:/usr/lib/python2.6/dist-packages/PIL:/usr/lib/python2.6/dist-packages/gst-0.10:/usr/lib/python2.6/dist-packages/gtk-2.0:/usr/lib/python2.6/lib-dynload:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/plat-linux2:/usr/local/lib/python2.6/dist-packages:/usr/local/lib/python2.6/dist-packages/Elixir-0.7.1-py2.6.egg:/usr/local/lib/python2.6/dist-packages/TracXMLRPC-0.1-py2.6.egg:/usr/local/lib/python2.6/dist-packages/tornado-1.0.1-py2.6.egg
6
#export PYTHONPATH=${PROJECT_DIR}/PyProj/src:${PROJECT_DIR}/ThriftConfigPy/src:/usr/lib/pymodules/python2.6:/usr/lib/pymodules/python2.6/gtk-2.0:/usr/lib/python2.6:/usr/lib/python2.6/dist-packages:/usr/lib/python2.6/dist-packages/PIL:/usr/lib/python2.6/dist-packages/gst-0.10:/usr/lib/python2.6/dist-packages/gtk-2.0:/usr/lib/python2.6/lib-dynload:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/plat-linux2:/usr/local/lib/python2.6/dist-packages:/usr/local/lib/python2.6/dist-packages/Elixir-0.7.1-py2.6.egg:/usr/local/lib/python2.6/dist-packages/TracXMLRPC-0.1-py2.6.egg:/usr/local/lib/python2.6/dist-packages/tornado-1.0.1-py2.6.egg
7
 
7
#
8
/usr/bin/python2.6 -u ${PROJECT_DIR}/PyProj/src/shop2020/config/ConfigServer.py -f ${PROJECT_DIR}/PyProj/src/shop2020/config/resources/shop2020.cfg >> ${LOGDIR}/config.log 2>&1 &
8
#/usr/bin/python2.6 -u ${PROJECT_DIR}/PyProj/src/shop2020/config/ConfigServer.py -f ${PROJECT_DIR}/PyProj/src/shop2020/config/resources/shop2020.cfg -l /var/log/services/config.log -i $PIDFILE start >> ${LOGDIR}/config.log 2>&1 &
-
 
9
/etc/init.d/config-server start