Commit e165c1f3 authored by Indrek Jentson's avatar Indrek Jentson
Browse files

Muudatus logifaili käsitlemises

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