Skip to content

Instantly share code, notes, and snippets.

@lordofthejars
Created March 29, 2013 20:31
Show Gist options
  • Save lordofthejars/5273431 to your computer and use it in GitHub Desktop.
Save lordofthejars/5273431 to your computer and use it in GitHub Desktop.
service { "tomee" :
provider => "init",
ensure => running,
start => "/opt/tomee-1.5.1/bin/startup.sh",
stop => "/opt/tomee-1.5.1/bin/shutdown.sh",
status => "",
restart => "",
hasstatus => false,
hasrestart => false,
require => [ Exec["unpack-tomee"], Package["openjdk-6-jdk"] ],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment