Skip to content

Instantly share code, notes, and snippets.

@azhurb
Created February 12, 2016 14:43
Show Gist options
  • Select an option

  • Save azhurb/5041962057ccd7630bb9 to your computer and use it in GitHub Desktop.

Select an option

Save azhurb/5041962057ccd7630bb9 to your computer and use it in GitHub Desktop.
weinre.conf
#!upstart
description "node.js based server"
author "Alexey Zhurbitsky <[email protected]>"
#start on net-device-up
start on (started networking)
stop on starting shutdown
respawn
respawn limit 10 10
script
export HOME="/root"
cd /var/www/weinre/node_modules/weinre
exec /usr/bin/nodejs weinre --boundHost 0.0.0.0 --deathTimeout 60 --httpPort 8000 1>>/var/log/stalkerd/weinre_access.log 2>>/var/log/stalkerd/weinre_error.log
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment