stop node stuff

This commit is contained in:
William Mantly 2016-10-11 22:29:56 -04:00
parent 563b252e68
commit ae48b9e715

View File

@ -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