Skip to content

Instantly share code, notes, and snippets.

@joelmo
Created April 25, 2014 13:31
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 joelmo/0053ce1ca61b395cfaf5 to your computer and use it in GitHub Desktop.
Save joelmo/0053ce1ca61b395cfaf5 to your computer and use it in GitHub Desktop.
description "Parsoid HTTP service"
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]
setuid "www-data"
setgid "www-data"
env VCAP_APP_PORT="8000"
env NODE_PATH="/js/node_modules"
chdir "/srv/parsoid"
exec node api/server.js
respawn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment