Show More
@@ -43,7 +43,8 b' start() {' | |||
|
43 | 43 | |
|
44 | 44 | stop() { |
|
45 | 45 | ebegin "Stopping $APP_NAME" |
|
46 |
start-stop-daemon - |
|
|
46 | start-stop-daemon -d $APP_PATH \ | |
|
47 | --stop --quiet \ | |
|
47 | 48 | --pidfile $PID_PATH || echo "$APP_NAME - Not running!" |
|
48 | 49 | if [ -f $PID_PATH ]; then |
|
49 | 50 | rm $PID_PATH |
@@ -45,8 +45,9 b' case "$1" in' | |||
|
45 | 45 | --exec $DAEMON -- $DAEMON_OPTS |
|
46 | 46 | ;; |
|
47 | 47 | stop) |
|
48 |
e |
|
|
49 |
start-stop-daemon - |
|
|
48 | ebegin "Stopping $APP_NAME" | |
|
49 | start-stop-daemon -d $APP_PATH \ | |
|
50 | --stop --quiet \ | |
|
50 | 51 | --pidfile $PID_PATH || echo "$APP_NAME - Not running!" |
|
51 | 52 | if [ -f $PID_PATH ]; then |
|
52 | 53 | rm $PID_PATH |
General Comments 0
You need to be logged in to leave comments.
Login now