Created
October 9, 2011 13:27
-
-
Save sas101/1273682 to your computer and use it in GitHub Desktop.
Jenkins job file for Upstart using tomcat-server-manager
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
# Jenkins - jenkins job file for upstart | |
description "Jenkins CI build server using tomcat-server-manager" | |
author "Stefan Simroth <stefan@ubicoo.com>" | |
# When to start the service | |
start on runlevel [12345] | |
# When to stop the service | |
stop on runlevel [06] | |
# Automatically restart process if crashed | |
respawn | |
# Process will detach itself to the background | |
expect fork | |
# Start process | |
exec tomcat-server-manager start-instance --instance-name=jenkins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment