Skip to content

Instantly share code, notes, and snippets.

@sas101
Created October 9, 2011 13:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sas101/1273682 to your computer and use it in GitHub Desktop.
Save sas101/1273682 to your computer and use it in GitHub Desktop.
Jenkins job file for Upstart using tomcat-server-manager
# 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