Commit 52ffba8a authored by nostneji's avatar nostneji Committed by GitHub
Browse files

Parandus start-skriptis

parent e8f99859
cd /src
cd ./src
git pull
npm install
if [ ! -f /config/config.js ]; then
cp -R -u -p /src/config_dist.js /config/config.js
cp -R -u -p ./src/config_dist.js /config/config.js
if [ -f /config/config.js ]; then
cp /config/config.js /src/config.js
cp /config/config.js ./src/config.js
if [ ! -f /src/config.js ]; then
cp -R -u -p /src/config_dist.js /src/config.js
if [ ! -f ./src/config.js ]; then
cp -R -u -p ./src/config_dist.js ./src/config.js
forever start -l /forever.log /src/app.js
forever start -l /wrapper/logs/forever.log ./src/app.js
forever list
tail -f /forever.log
tail -f /wrapper/logs/forever.log
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment