From ae48b9e7159287b9b026c22f9a4a64f5b2f2a133 Mon Sep 17 00:00:00 2001 From: william mantly Date: Tue, 11 Oct 2016 22:29:56 -0400 Subject: [PATCH] stop node stuff --- delete.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/delete.sh b/delete.sh index 6acbefd..b9d6fb7 100644 --- a/delete.sh +++ b/delete.sh @@ -2,9 +2,14 @@ name="$1" sshURL="$2" +nodePort=`cat env/nodePort` +export NODEPORT=$nodePort +forever stop $workingPath/node_rtc/app.js + rm -rf /var/www/gitwrapper/$name rm /etc/apache2/sites-enabled/$name.conf + /usr/sbin/service apache2 restart exit 0