-
-
Save joelmo/0053ce1ca61b395cfaf5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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