| Line 16... |
Line 16... |
| 16 |
|
16 |
|
| 17 |
# Do NOT "set -e"
|
17 |
# Do NOT "set -e"
|
| 18 |
|
18 |
|
| 19 |
# PATH should only include /usr/* if it runs after the mountnfs.sh script
|
19 |
# PATH should only include /usr/* if it runs after the mountnfs.sh script
|
| 20 |
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
20 |
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
| 21 |
PROJECT_DIR="/home/ashish/work/newrepo"
|
21 |
PROJECT_DIR="/root/code/trunk"
|
| 22 |
LOGDIR="${PROJECT_DIR}/runutils"
|
22 |
LOGDIR="${PROJECT_DIR}/runutils"
|
| 23 |
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
|
23 |
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
|
| 24 |
DESC="Promotion server used by the saholic.com website"
|
24 |
DESC="Promotion server used by the saholic.com website"
|
| 25 |
NAME="promotion-server"
|
25 |
NAME="promotion-server"
|
| 26 |
PIDFILE=/var/run/$NAME.pid
|
26 |
PIDFILE=/var/run/$NAME.pid
|