Show More
@@ -33,8 +33,8 b' depend() {' | |||||
33 |
|
33 | |||
34 | start() { |
|
34 | start() { | |
35 | ebegin "Starting $APP_NAME" |
|
35 | ebegin "Starting $APP_NAME" | |
36 | cd $APP_PATH |
|
36 | start-stop-daemon -d $APP_PATH -e PYTHON_EGG_CACHE="/tmp" \ | |
37 |
|
|
37 | --start --quiet\ | |
38 | --pidfile $PID_PATH \ |
|
38 | --pidfile $PID_PATH \ | |
39 | --user $RUN_AS \ |
|
39 | --user $RUN_AS \ | |
40 | --exec $DAEMON -- $DAEMON_OPTS |
|
40 | --exec $DAEMON -- $DAEMON_OPTS |
@@ -38,8 +38,8 b' DAEMON_OPTS="serve --daemon \\' | |||||
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 |
|
|
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 |
General Comments 0
You need to be logged in to leave comments.
Login now