Last active
August 29, 2015 13:55
-
-
Save rhoegg/8696853 to your computer and use it in GitHub Desktop.
upstart script for mule 3.4 and earlier
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
description "Run Mule ESB" | |
author "Ryan Hoegg" | |
setuid mule | |
setgid nogroup | |
# we need real ethernet before starting: | |
start on (local-filesystems and net-device-up IFACE!=lo) | |
stop on runlevel [016] | |
kill timeout 30 | |
script | |
. /etc/default/mule | |
exec $MULE_HOME/bin/mule -M-Dspring.profiles.active=$MULE_ENV -M-DMULE_ENV=$MULE_ENV | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One reason I use a custom upstart script instead of relying on JSW "install" feature is that I often need to run several instances of Mule side by side.