Last active
December 1, 2015 12:51
-
-
Save emartini/cd58c0b74ff01802f5fa to your computer and use it in GitHub Desktop.
Run PhantomJS as Remote WebDriver mode as upstart service
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
description "PhanthomJS running as WebDriver" | |
start on startup | |
stop on shutdown | |
respawn | |
script | |
/usr/bin/phantomjs --webdriver=4444 | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Place this script on
/etc/init