Skip to content

Instantly share code, notes, and snippets.

schkovich / upstart-nodejs
Created May 6, 2014
Upstart script to control nodejs application
View upstart-nodejs
# start when networking is up
start on net-device-up IFACE!=lo
# stop on shutting down the system
stop on runlevel [016]
# application environment
# staging and development instances should use override file to define environment
env NODE_ENV=production
# respawn the job up to 10 times within a 5 second period.
View nameornot.php
* @see
abstract class Struct
* Is run when reading data from inaccessible properties