Skip to content

Commit

Permalink
Updated for Crowd 2.3.1, JIRA 4.4 and Confluence 3.5.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacques committed Aug 14, 2011
1 parent 124784b commit 46f5dc0
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 19 deletions.
14 changes: 8 additions & 6 deletions confluence.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,23 @@
<dependency name='milestone' grouping='require_all' restart_on='none' type='service'>
<service_fmri value='svc:/milestone/sysconfig'/>
</dependency>
<exec_method name='start' type='method' exec='/home/confluence/confluence-3.5-std/bin/startup.sh' timeout_seconds='240'>
<method_context working_directory='/home/confluence/confluence-3.5-std' project='default'>
<exec_method name='start' type='method' exec='/home/confluence/confluence-3.5.9-std/bin/startup.sh' timeout_seconds='240'>
<method_context working_directory='/home/confluence/confluence-3.5.9-std' project='default'>
<method_credential user='confluence' group='confluence'/>
<method_environment>
<envvar name='PATH' value='/opt/local/bin:/opt/local/sbin:/usr/xpg4/bin:/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/usr/ccs/bin'/>
<envvar name='JAVA_HOME' value='/usr'/>
<envvar name='JAVA_HOME' value='/opt/java/latest'/>
<envvar name='JDK_HOME' value='/opt/java/latest'/>
</method_environment>
</method_context>
</exec_method>
<exec_method name='stop' type='method' exec='/home/confluence/confluence-3.5-std/bin/shutdown.sh' timeout_seconds='60'>
<method_context working_directory='/home/confluence/confluence-3.5-std' project='default'>
<exec_method name='stop' type='method' exec='/home/confluence/confluence-3.5.9-std/bin/shutdown.sh' timeout_seconds='60'>
<method_context working_directory='/home/confluence/confluence-3.5.9-std' project='default'>
<method_credential user='confluence' group='confluence'/>
<method_environment>
<envvar name='PATH' value='/opt/local/bin:/opt/local/sbin:/usr/xpg4/bin:/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/usr/ccs/bin'/>
<envvar name='JAVA_HOME' value='/usr'/>
<envvar name='JAVA_HOME' value='/opt/java/latest'/>
<envvar name='JDK_HOME' value='/opt/java/latest'/>
</method_environment>
</method_context>
</exec_method>
Expand Down
16 changes: 9 additions & 7 deletions crowd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,23 @@
<dependency name='milestone' grouping='require_all' restart_on='none' type='service'>
<service_fmri value='svc:/milestone/sysconfig'/>
</dependency>
<exec_method name='start' type='method' exec='/home/crowd/atlassian-crowd-2.2.2/start_crowd.sh' timeout_seconds='240'>
<method_context working_directory='/home/crowd/atlassian-crowd-2.2.2' project='default'>
<exec_method name='start' type='method' exec='/home/crowd/atlassian-crowd-2.3.1/start_crowd.sh' timeout_seconds='240'>
<method_context working_directory='/home/crowd/atlassian-crowd-2.3.1' project='default'>
<method_credential user='crowd' group='crowd'/>
<method_environment>
<envvar name='PATH' value='/opt/local/bin:/opt/local/sbin:/usr/xpg4/bin:/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/usr/ccs/bin'/>
<envvar name='JAVA_HOME' value='/usr'/>
<envvar name='JAVA_HOME' value='/opt/java/latest'/>
<envvar name='JDK_HOME' value='/opt/java/latest'/>
</method_environment>
</method_context>
</exec_method>
<exec_method name='stop' type='method' exec='/home/crowd/atlassian-crowd-2.2.2/stop_crowd.sh' timeout_seconds='60'>
<method_context working_directory='/home/crowd/atlassian-crowd-2.2.2' project='default'>
<exec_method name='stop' type='method' exec='/home/crowd/atlassian-crowd-2.3.1/stop_crowd.sh' timeout_seconds='60'>
<method_context working_directory='/home/crowd/atlassian-crowd-2.3.1' project='default'>
<method_credential user='crowd' group='crowd'/>
<method_environment>
<envvar name='PATH' value='/opt/local/bin:/opt/local/sbin:/usr/xpg4/bin:/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/usr/ccs/bin'/>
<envvar name='JAVA_HOME' value='/usr'/>
<envvar name='JAVA_HOME' value='/opt/java/latest'/>
<envvar name='JDK_HOME' value='/opt/java/latest'/>
</method_environment>
</method_context>
</exec_method>
Expand All @@ -44,4 +46,4 @@
</common_name>
</template>
</service>
</service_bundle>
</service_bundle>
14 changes: 8 additions & 6 deletions jira.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,23 @@
<dependency name='milestone' grouping='require_all' restart_on='none' type='service'>
<service_fmri value='svc:/milestone/sysconfig'/>
</dependency>
<exec_method name='start' type='method' exec='/home/jira/atlassian-jira-4.3/bin/startup.sh' timeout_seconds='60'>
<method_context working_directory='/home/jira/atlassian-jira-4.3' project='default'>
<exec_method name='start' type='method' exec='/home/jira/atlassian-jira-4.4/bin/startup.sh' timeout_seconds='60'>
<method_context working_directory='/home/jira/atlassian-jira-4.4' project='default'>
<method_credential user='jira' group='jira'/>
<method_environment>
<envvar name='PATH' value='/opt/local/bin:/opt/local/sbin:/usr/xpg4/bin:/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/usr/ccs/bin'/>
<envvar name='JAVA_HOME' value='/usr'/>
<envvar name='JAVA_HOME' value='/opt/java/latest'/>
<envvar name='JDK_HOME' value='/opt/java/latest'/>
</method_environment>
</method_context>
</exec_method>
<exec_method name='stop' type='method' exec='/home/jira/atlassian-jira-4.3/bin/shutdown.sh' timeout_seconds='60'>
<method_context working_directory='/home/jira/atlassian-jira-4.3' project='default'>
<exec_method name='stop' type='method' exec='/home/jira/atlassian-jira-4.4/bin/shutdown.sh' timeout_seconds='60'>
<method_context working_directory='/home/jira/atlassian-jira-4.4' project='default'>
<method_credential user='jira' group='jira'/>
<method_environment>
<envvar name='PATH' value='/opt/local/bin:/opt/local/sbin:/usr/xpg4/bin:/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/usr/ccs/bin'/>
<envvar name='JAVA_HOME' value='/usr'/>
<envvar name='JAVA_HOME' value='/opt/java/latest'/>
<envvar name='JDK_HOME' value='/opt/java/latest'/>
</method_environment>
</method_context>
</exec_method>
Expand Down

0 comments on commit 46f5dc0

Please sign in to comment.