V
V
Vitaly2015-10-29 12:56:48
linux
Vitaly, 2015-10-29 12:56:48

How to restore work forever?

Help please :(
I'm running the express application NODE_ENV=production forever start path_to_app/app
in response:

warn:    --minUptime not set. Defaulting to: 1000ms
warn:    --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info:    Forever processing file: bin/www

response to the forever status command:
warn:    --minUptime not set. Defaulting to: 1000ms
warn:    --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
error:   Cannot start forever
error:   script /home/scorpio/simple/status does not exist.

Although the server is up and running,
stopping the server also fails forever stop path_to_app/app in response:
error:   Forever cannot find process with id: path_to_app/app

OS : Debian 8.2

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaliy, 2015-10-29
@Scorpiored88

Sorry! Instead of forever status, it was necessary forever list

A
Alexander, 2016-02-25
@w4r_dr1v3r

What about
forever stopall(killed all cycles)
forever restartall(restarted all cycles)?
Last resort
forever -help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question