Skip to content

Instantly share code, notes, and snippets.

@lynnaloo
Last active August 29, 2015 13:59
Show Gist options
  • Save lynnaloo/10476429 to your computer and use it in GitHub Desktop.
Save lynnaloo/10476429 to your computer and use it in GitHub Desktop.
xTuple Node Server Init
#####
# xTuple
#
# The xTuple-node process allows mobile connections
#
# Ubuntu UpStart service job
# Should install to /etc/init and be named xtuple.conf
# Usage: service xtuple (start | stop | status)
description "xTuple Node Server"
start on filesystem or runlevel [2345]
stop on runlevel [!2345]
console output
respawn
chdir /home/vagrant/source/xtuple/node-datasource
exec node main.js > /var/log/node-datasource.log
#####
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment