Skip to content

Instantly share code, notes, and snippets.

@meteormatt
Created May 11, 2013 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meteormatt/5560578 to your computer and use it in GitHub Desktop.
Save meteormatt/5560578 to your computer and use it in GitHub Desktop.
forever
meteor@Meteor:$ supervisor app.js
DEBUG: Running node-supervisor with
DEBUG: program 'app.js'
DEBUG: --watch '.'
DEBUG: --ignore 'undefined'
DEBUG: --extensions 'node|js'
DEBUG: --exec 'node'
DEBUG: Starting child process with 'node app.js'
DEBUG: Watching directory '/home/meteor/workspace/express/examples/auth' for changes.
Express started on port 3000
^CDEBUG: Sending SIGINT to child...
meteor@Meteor:$ forever start app.js
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: app.js
meteor@Meteor:$ forever list
info: Forever processes running
data: uid command script forever pid logfile uptime
data: [0] 9f6h /usr/bin/nodejs app.js 7581 7583 /home/meteor/.forever/9f6h.log 0:0:0:4.83
meteor@Meteor:$ forever stop app.js
info: Forever stopped process:
data: uid command script forever pid logfile uptime
[0] 9f6h /usr/bin/nodejs app.js 7581 7583 /home/meteor/.forever/9f6h.log 0:0:0:8.841
meteor@Meteor:$ forever app.js
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
Express started on port 3000
^Cmeteor@Meteor:$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment