Mercurial > kallithea
changeset 430:41504f4aa96b
fixed init scripts
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 27 Aug 2010 14:56:52 +0200 |
parents | dccf4b2226ec |
children | ccbb7ea2b203 |
files | hg_app_daemon hg_app_daemon2 |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/hg_app_daemon Thu Aug 26 17:29:26 2010 +0200 +++ b/hg_app_daemon Fri Aug 27 14:56:52 2010 +0200 @@ -33,8 +33,8 @@ start() { ebegin "Starting $APP_NAME" - cd $APP_PATH - start-stop-daemon --start --quiet\ + start-stop-daemon -d $APP_PATH -e PYTHON_EGG_CACHE="/tmp" \ + --start --quiet\ --pidfile $PID_PATH \ --user $RUN_AS \ --exec $DAEMON -- $DAEMON_OPTS
--- a/hg_app_daemon2 Thu Aug 26 17:29:26 2010 +0200 +++ b/hg_app_daemon2 Fri Aug 27 14:56:52 2010 +0200 @@ -38,8 +38,8 @@ case "$1" in start) echo "Starting $APP_NAME" - cd $APP_PATH - start-stop-daemon --start --quiet\ + start-stop-daemon -d $APP_PATH -e PYTHON_EGG_CACHE="/tmp" \ + --start --quiet\ --pidfile $PID_PATH \ --user $RUN_AS \ --exec $DAEMON -- $DAEMON_OPTS