Created
December 8, 2015 00:19
-
-
Save yuuichi-fujioka/8e0e3ae847714ef7c15e to your computer and use it in GitHub Desktop.
upstart script for jenkins slave
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
respawn | |
respawn limit 15 5 | |
start on runlevel [2345] | |
stop on runlevel [06] | |
script | |
exec start-stop-daemon --start --exec /usr/bin/java -- -jar /var/lib/jenkins/slave.jar -jnlpUrl http://10.241.3.153:8080/computer/yrp01/slave-agent.jnlp | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment