-
Type:
Suggestion
-
Resolution: Won't Fix
-
Component/s: Documentation
NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.
I've commented on http://confluence.atlassian.com/display/JIRA/Starting+JIRA+Standalone+automatically+on+Linux which includes the jira.smf manifest I am using to start and stop JIRA automatically on OpenSolaris.
As the note states I've hacked this together with no real knowledge of what I am doing.
It appears to work fine on my machine so far.
A copy of the comment is included here as well:
jira.smf
<?xml version="1.0"?> <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> <!-- Assumes dependency on svc:/network/cswmysql5:default Assumes user=jira group=other Assumes :home is where your JIRA instance is installed. Assumes :home/bin has symlinks to the actual version you are running. --> <service_bundle type='manifest' name='JIRA'> <service name='network/jira' type='service' version='1'> <create_default_instance enabled='false' /> <single_instance /> <!-- Wait for network interfaces to be initialized. --> <dependency name='network' grouping='require_all' restart_on='error' type='service'> <service_fmri value='svc:/milestone/network:default'/> </dependency> <!-- Wait for all local filesystems to be mounted. --> <dependency name='filesystem-local' grouping='require_all' restart_on='none' type='service'> <service_fmri value='svc:/system/filesystem/local:default'/> </dependency> <!-- Wait for mysql --> <dependency name='mysql' grouping='require_all' restart_on='none' type='service'> <service_fmri value='svc:/network/cswmysql5:default'/> </dependency> <!-- execute as user jira --> <method_context> <method_credential user='jira' group='other' /> </method_context> <exec_method type='method' name='start' exec='./bin/startup.sh' timeout_seconds='60'> </exec_method> <exec_method type='method' name='stop' exec='./bin/shutdown.sh' timeout_seconds='15'> </exec_method> <template> <common_name> <loctext xml:lang='C'>JIRA</loctext> </common_name> <documentation> <doc_link name='jira' uri='http://www.atlassian.com/software/jira/' /> </documentation> </template> </service> </service_bundle>
- is related to
-
JRASERVER-21160 Supply smf manifest for installing JIRA as a service for OpenSolaris
- Closed