Skip to content

Instantly share code, notes, and snippets.

@emartini
Last active December 1, 2015 12:51
Show Gist options
  • Save emartini/cd58c0b74ff01802f5fa to your computer and use it in GitHub Desktop.
Save emartini/cd58c0b74ff01802f5fa to your computer and use it in GitHub Desktop.
Run PhantomJS as Remote WebDriver mode as upstart service
description "PhanthomJS running as WebDriver"
start on startup
stop on shutdown
respawn
script
/usr/bin/phantomjs --webdriver=4444
end script
@emartini
Copy link
Author

emartini commented Nov 6, 2015

Place this script on /etc/init

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment