On 9 December 2013 13:38, Vincent Ladeuil <[email protected]> wrote: > === modified file 'debian/jenkins-slave.upstart' > --- debian/jenkins-slave.upstart 2013-02-17 17:11:13 +0000 > +++ debian/jenkins-slave.upstart 2013-12-09 10:29:01 +0000 > @@ -17,3 +17,6 @@ > exec start-stop-daemon --start -c $JENKINS_USER --exec $JAVA --name > jenkins-slave \ > -- $JAVA_ARGS -jar $JENKINS_RUN/slave.jar $JENKINS_ARGS > end script > + > +# respawn if the slave crash > +respawn
respawn limit (http://upstart.ubuntu.com/cookbook/#respawn-limit) please. Otherwise we will poorly handle the case where the slave is broken (remember the corrupted jar?) and cannot actually be started. Thanks! -- Mailing list: https://launchpad.net/~canonical-ci-engineering Post to : [email protected] Unsubscribe : https://launchpad.net/~canonical-ci-engineering More help : https://help.launchpad.net/ListHelp

