Mercurial > kallithea
comparison hg_app_daemon2 @ 433:aeafda5481e4
more on that neverending topic :) init scripts
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 27 Aug 2010 17:56:41 +0200 |
parents | 90512560ed4d |
children |
comparison
equal
deleted
inserted
replaced
432:90512560ed4d | 433:aeafda5481e4 |
---|---|
68 start-stop-daemon -d $APP_PATH -e PYTHON_EGG_CACHE="/tmp" \ | 68 start-stop-daemon -d $APP_PATH -e PYTHON_EGG_CACHE="/tmp" \ |
69 --start --quiet \ | 69 --start --quiet \ |
70 --pidfile $PID_PATH \ | 70 --pidfile $PID_PATH \ |
71 --user $RUN_AS \ | 71 --user $RUN_AS \ |
72 --exec $DAEMON -- $DAEMON_OPTS | 72 --exec $DAEMON -- $DAEMON_OPTS |
73 ;; | |
73 *) | 74 *) |
74 echo "Usage: $0 {start|stop|restart}" | 75 echo "Usage: $0 {start|stop|restart}" |
75 exit 1 | 76 exit 1 |
76 esac | 77 esac |