comparison hg_app_daemon2 @ 430:41504f4aa96b

fixed init scripts
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 27 Aug 2010 14:56:52 +0200
parents 17d5028e055c
children ccbb7ea2b203
comparison
equal deleted inserted replaced
427:dccf4b2226ec 430:41504f4aa96b
36 36
37 37
38 case "$1" in 38 case "$1" in
39 start) 39 start)
40 echo "Starting $APP_NAME" 40 echo "Starting $APP_NAME"
41 cd $APP_PATH 41 start-stop-daemon -d $APP_PATH -e PYTHON_EGG_CACHE="/tmp" \
42 start-stop-daemon --start --quiet\ 42 --start --quiet\
43 --pidfile $PID_PATH \ 43 --pidfile $PID_PATH \
44 --user $RUN_AS \ 44 --user $RUN_AS \
45 --exec $DAEMON -- $DAEMON_OPTS 45 --exec $DAEMON -- $DAEMON_OPTS
46 ;; 46 ;;
47 stop) 47 stop)