|
Page Created :
SM :
Using Upstart to run ServiceMix on Ubuntu
Using Upstart to run ServiceMix on Ubuntu has been created by Gert Vanthienen (Jan 22, 2008). Content:Ubuntu uses Upstart Configuring Upstart to run ServiceMixFor Upstart, every service is defined in its own file in /etc/event.d. To add ServiceMix, just create /etc/event.d/servicemix with the contents shown below: # Apache ServiceMix # # Starts/stops ServiceMix when the computer starts/stops # Also restart ServiceMix after it has died unexpectedly start on runlevel 2 start on runlevel 3 start on runlevel 4 start on runlevel 5 stop on runlevel 0 stop on runlevel 1 stop on runlevel 6 kill timeout 15 respawn exec /opt/servicemix/bin/servicemix In this example:
Using Upstart to control ServiceMixThe example above will start/stop ServiceMix automatically with the system, but you can also control the service from a command line:
|
Powered by
Atlassian Confluence
(Version: 2.2.9 Build:#527 Sep 07, 2006)
-
Bug/feature request
Unsubscribe or edit your notifications preferences
Unsubscribe or edit your notifications preferences
