Modal about and legal

This commit is contained in:
Nicolas A. Tonne
2015-04-16 01:22:36 +02:00
parent 44505b922e
commit b53837da01
3 changed files with 26 additions and 5 deletions

View File

@@ -1,8 +1,9 @@
#!/bin/bash
apt-get update
apt-get install npm
apt-get install nodejs
apt-get install -y npm
apt-get install -y nodejs
npm install -g forever
ln -s /usr/bin/nodejs /usr/bin/node
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/server
forever stopall
CMD="forever start -l /var/log/zoff.log -a --workingDir $DIR $DIR/server.js"