Created
August 15, 2014 08:14
-
-
Save stenver/de525f67f54d91c49c49 to your computer and use it in GitHub Desktop.
Simple bash service
This file contains hidden or 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
start on runlevel [2345] | |
stop on runlevel [016] | |
respawn | |
respawn limit 10 10 | |
kill signal INT | |
kill timeout 20 | |
normal exit 0 TERM INT | |
script | |
sudo -u deployer sh -c "DISPLAY=localhost:1 xvfb-run --auto-servernum --server-num=1 chromedriver --port=9516 2>&1" | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment