From d85ba96a415e7e635ca49982787d5ba3bd64c0c5 Mon Sep 17 00:00:00 2001 From: william mantly Date: Sat, 1 Oct 2016 21:58:20 -0400 Subject: [PATCH] node --- create.sh | 4 ++-- update.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/create.sh b/create.sh index 21b6d2a..060b959 100644 --- a/create.sh +++ b/create.sh @@ -47,9 +47,9 @@ python3 manage.py collectstatic --noinput python3 manage.py migrate chmod 777 db.sqlite3 -/usr/local/bin/forever stop $workingPath/node_rtc/app.js +forever stop $workingPath/node_rtc/app.js echo "starting node app on port $nodePort" -/usr/local/bin/forever start $workingPath/node_rtc/app.js -l +forever start $workingPath/node_rtc/app.js -l echo "creating apache VirtualHost file" diff --git a/update.sh b/update.sh index 6ab1b69..d34c85b 100644 --- a/update.sh +++ b/update.sh @@ -29,8 +29,8 @@ NODE_ENV='staging' export NODE_ENV='staging' nodePort=cat env/nodePort export NODEPORT=$nodePort -/usr/local/bin/forever stop $workingPath/node_rtc/app.js -/usr/local/bin/forever start $workingPath/node_rtc/app.js +forever stop $workingPath/node_rtc/app.js +forever start $workingPath/node_rtc/app.js /usr/sbin/service apache2 restart