Commit e165c1f3 authored by Indrek Jentson's avatar Indrek Jentson

Muudatus logifaili käsitlemises

parent 901f1d14
......@@ -15,7 +15,11 @@ if [ ! -f ./config.js ]; then
cp -R -u -p ./config_dist.js ./config.js
fi
forever start -l -a /wrapper/logs/forever.log ./app.js
if [ -f /wrapper/logs/forever.log ]; then
mv /wrapper/logs/forever.log /wrapper/logs/forever.log.prev
fi
forever start -l /wrapper/logs/forever.log ./app.js
forever list
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