Subversion Repositories SmartDukaan

Rev

Rev 3143 | Rev 3919 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3143 Rev 3918
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
 
2
 
-
 
3
/etc/init.d/catalog-server stop
-
 
4
/etc/init.d/user-server stop
-
 
5
/etc/init.d/order-server stop
-
 
6
/etc/init.d/logistics-server stop
-
 
7
/etc/init.d/helper-server stop
-
 
8
/etc/init.d/promotion-server stop
-
 
9
/etc/init.d/warehouse-server stop
-
 
10
 
3
PROJECT_DIR="${HOME}/code/trunk"
11
PROJECT_DIR="${HOME}/code/trunk"
4
LOGDIR="${PROJECT_DIR}/runutils"
12
LOGDIR="${PROJECT_DIR}/runutils"
5
 
13
 
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
14
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
 
15
 
8
/usr/bin/python2.6 -u ${PROJECT_DIR}/PyProj/src/shop2020/model/v1/catalog/CatalogServer.py >> ${LOGDIR}/catalog.log 2>&1 &
-
 
9
/usr/bin/python2.6 -u ${PROJECT_DIR}/PyProj/src/shop2020/model/v1/user/UserContextServer.py >> ${LOGDIR}/user.log 2>&1 &
-
 
10
/usr/bin/python2.6 -u ${PROJECT_DIR}/PyProj/src/shop2020/model/v1/order/TransactionServer.py >> ${LOGDIR}/order.log 2>&1 &
-
 
11
/usr/bin/python2.6 -u ${PROJECT_DIR}/PyProj/src/shop2020/logistics/service/LogisticsServer.py >> ${LOGDIR}/logistics.log 2>&1 &
-
 
12
/usr/bin/python2.6 -u ${PROJECT_DIR}/PyProj/src/shop2020/helpers/impl/HelperServer.py >>  ${LOGDIR}/helpers.log 2>&1 &
-
 
13
/usr/bin/python2.6 -u ${PROJECT_DIR}/PyProj/src/shop2020/model/v1/user/PromotionServer.py >> ${LOGDIR}/promotion.log 2>&1 &
-
 
14
/usr/bin/python2.6 -u ${PROJECT_DIR}/PyProj/src/shop2020/helpers/impl/EmailSender.py >> ${LOGDIR}/emailsender.log 2>&1 &
16
/usr/bin/python2.6 -u ${PROJECT_DIR}/PyProj/src/shop2020/helpers/impl/EmailSender.py >> ${LOGDIR}/emailsender.log 2>&1 &
15
/usr/bin/python2.6 -u ${PROJECT_DIR}/PyProj/src/shop2020/warehouse/main/WarehouseServer.py >> ${LOGDIR}/warehouse.log 2>&1 &
-