Skip to content

Instantly share code, notes, and snippets.

@fabriziomachado
Created December 7, 2011 16:04
Show Gist options
  • Save fabriziomachado/1443346 to your computer and use it in GitHub Desktop.
Save fabriziomachado/1443346 to your computer and use it in GitHub Desktop.
/etc/init/node-resize.conf
description "node.js server-now"
start on started mountall
stop on shutdown
respawn
respawn limit 99 5
script
exec node <<APP_PATH>>/application/servers/server-now.js >> /var/log/node-resize.log 2>&1
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment