stop node stuff
This commit is contained in:
parent
563b252e68
commit
ae48b9e715
@ -2,9 +2,14 @@
|
|||||||
name="$1"
|
name="$1"
|
||||||
sshURL="$2"
|
sshURL="$2"
|
||||||
|
|
||||||
|
nodePort=`cat env/nodePort`
|
||||||
|
export NODEPORT=$nodePort
|
||||||
|
forever stop $workingPath/node_rtc/app.js
|
||||||
|
|
||||||
rm -rf /var/www/gitwrapper/$name
|
rm -rf /var/www/gitwrapper/$name
|
||||||
rm /etc/apache2/sites-enabled/$name.conf
|
rm /etc/apache2/sites-enabled/$name.conf
|
||||||
|
|
||||||
|
|
||||||
/usr/sbin/service apache2 restart
|
/usr/sbin/service apache2 restart
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user