Last active
August 29, 2015 13:59
-
-
Save lynnaloo/10476429 to your computer and use it in GitHub Desktop.
xTuple Node Server Init
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
##### | |
# 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