Skip to content

Commit

Permalink
replace tabs by space to stay consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
Erwan Ben Souiden committed Mar 21, 2014
1 parent e1b421c commit 57ac74a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions init.d/node-app
Expand Up @@ -29,7 +29,7 @@ start_app (){
if [ -f $PID_FILE ]
then
echo "$PID_FILE exists, process is already running or crashed"
exit 1
exit 1
else
echo "Starting node app..."
PORT=$PORT NODE_ENV=$NODE_ENV NODE_CONFIG_DIR=$CONFIG_DIR $NODE_EXEC $APP_DIR/$NODE_APP 1>$LOG_FILE 2>&1 &
Expand All @@ -41,7 +41,7 @@ stop_app (){
if [ ! -f $PID_FILE ]
then
echo "$PID_FILE does not exist, process is not running"
exit 1
exit 1
else
echo "Stopping $APP_DIR/$NODE_APP ..."
echo "Killing `cat $PID_FILE`"
Expand Down Expand Up @@ -83,7 +83,7 @@ case "$1" in

*)
echo "Usage: $0 {start|stop|restart|status}"
exit 1
exit 1
;;
esac

0 comments on commit 57ac74a

Please sign in to comment.