1 | <?xml version="1.0"?> |
---|
2 | <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> |
---|
3 | |
---|
4 | <service_bundle type='manifest' name='nginx'> |
---|
5 | |
---|
6 | <service name='application/galaxy' type='service' version='0'> |
---|
7 | |
---|
8 | <dependency name='net' |
---|
9 | grouping='require_all' |
---|
10 | restart_on='none' |
---|
11 | type='service'> |
---|
12 | <service_fmri |
---|
13 | value='svc:/network/loopback'/> |
---|
14 | </dependency> |
---|
15 | |
---|
16 | <dependency name='filesystem-local' |
---|
17 | grouping='require_all' |
---|
18 | restart_on='none' |
---|
19 | type='service'> |
---|
20 | <service_fmri |
---|
21 | value='svc:/system/filesystem/local:default'/> |
---|
22 | </dependency> |
---|
23 | |
---|
24 | <instance name='main' enabled='false'> |
---|
25 | |
---|
26 | <exec_method name='start' |
---|
27 | type='method' |
---|
28 | exec='python -ES ./scripts/paster.py serve universe_wsgi.webapp.ini --log-file=log/main.log --daemon' |
---|
29 | timeout_seconds='60'> |
---|
30 | <method_context |
---|
31 | working_directory='/galaxy'> |
---|
32 | <method_credential user='galaxy' group='galaxy' /> |
---|
33 | <method_environment> |
---|
34 | <envvar name="PATH" value="/opt/local/bin:/bin:/usr/bin" /> |
---|
35 | <envvar name="TEMP" value="/galaxy/database/tmp" /> |
---|
36 | </method_environment> |
---|
37 | </method_context> |
---|
38 | |
---|
39 | </exec_method> |
---|
40 | |
---|
41 | <exec_method name='stop' |
---|
42 | type='method' |
---|
43 | exec=':kill' |
---|
44 | timeout_seconds='60'> |
---|
45 | <method_context> |
---|
46 | <method_credential user='galaxy' group='galaxy' /> |
---|
47 | </method_context> |
---|
48 | </exec_method> |
---|
49 | |
---|
50 | <property_group name='general' type='framework'> |
---|
51 | <propval name='action_authorization' type='astring' |
---|
52 | value='solaris.smf.manage.galaxy' /> |
---|
53 | <propval name='value_authorization' type='astring' |
---|
54 | value='solaris.smf.manage.galaxy' /> |
---|
55 | </property_group> |
---|
56 | |
---|
57 | </instance> |
---|
58 | |
---|
59 | <stability value='Evolving' /> |
---|
60 | |
---|
61 | <template> |
---|
62 | <common_name> |
---|
63 | <loctext xml:lang='C'> |
---|
64 | Galaxy |
---|
65 | </loctext> |
---|
66 | </common_name> |
---|
67 | <documentation> |
---|
68 | <doc_link name='galaxyproject.org' |
---|
69 | uri='http://galaxyproject.org' /> |
---|
70 | </documentation> |
---|
71 | </template> |
---|
72 | |
---|
73 | </service> |
---|
74 | |
---|
75 | </service_bundle> |
---|