Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 333 Bytes
#!upstart
description "node.js trundle process monitor"
author "max"
start on started couchdb
start on startup
stop on shutdown
script
export HOME="/home/max"
TRUNDLE_DB="http://admin:pass@localhost:5984/processes"
exec sudo -u max /usr/local/bin/trundle load $TRUNDLE_DB > /var/log/trundle.log
end script
respawn
Jump to Line
Something went wrong with that request. Please try again.