Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 121 lines (97 sloc) 3.158 kb
ae9d971 @alobbs git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97f1-...
alobbs authored
1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <!--
4
5 Cherokee
6
7 Authors:
8 Rodrigo Fernandez-Vizarra <rodrigo.fernandez-vizarra@sun.com>
9
9393e55 @alobbs git-svn-id: svn://cherokee-project.com/cherokee/trunk@597 5dc97367-97f1-...
alobbs authored
10 Copyright (C) 2006-2007 Alvaro Lopez Ortega
ae9d971 @alobbs git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97f1-...
alobbs authored
11
12 This program is free software; you can redistribute it and/or
13 modify it under the terms of version 2 of the GNU General Public
14 License as published by the Free Software Foundation.
15
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
24 USA
25 -->
26
27 <service_bundle type='manifest' name='cherokee'>
28 <service name='network/http' type='service' version='1'>
29
30
31 <!--
32 Cherokee is an instance of the network/http service, it
33 is not enabled by default.
34 -->
35 <instance name='cherokee' enabled='false'>
36
37
38 <!--
39 Cherokee dependencies
40 -->
41 <dependency name='loopback'
42 grouping='require_all'
43 restart_on='error'
44 type='service'>
45
46 <service_fmri value='svc:/network/loopback:default'/>
47
48 </dependency>
49
50 <dependency name='physical'
51 grouping='optional_all'
52 restart_on='error'
53 type='service'>
54 <service_fmri value='svc:/network/physical:default'/>
55 </dependency>
56
57
58 <!--
59 start method
60 -->
61 <exec_method type='method'
62 name='start'
8bbad69 @alobbs Improves the OpenSolaris (& S10) SMF support. Thanks to Miguel Vidal
alobbs authored
63 exec='%prefix%/sbin/cherokee -d'
ae9d971 @alobbs git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97f1-...
alobbs authored
64 timeout_seconds='60'>
65 <method_context>
66 <method_credential user='root' group='root' />
67 </method_context>
68 </exec_method>
69
70
71 <!--
72 stop method
73 -->
74 <exec_method type='method'
75 name='stop'
8bbad69 @alobbs Improves the OpenSolaris (& S10) SMF support. Thanks to Miguel Vidal
alobbs authored
76 exec='kill `cat %localstatedir%/run/cherokee.pid`'
ae9d971 @alobbs git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97f1-...
alobbs authored
77 timeout_seconds='60'>
78 <method_context>
79 <method_credential user='root' group='root' />
80 </method_context>
81 </exec_method>
82
83
84 <!--
85 resstart method
86 -->
87 <exec_method type='method'
88 name='refresh'
8bbad69 @alobbs Improves the OpenSolaris (& S10) SMF support. Thanks to Miguel Vidal
alobbs authored
89 exec='kill -HUP `cat %localstatedir%/run/cherokee.pid`'
ae9d971 @alobbs git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97f1-...
alobbs authored
90 timeout_seconds='60'>
91 <method_context>
92 <method_credential user='root' group='root' />
93 </method_context>
94 </exec_method>
95
96 <property_group name='startd' type='framework'>
97 <propval name='duration' type='astring' value='contract'/>
98 <propval name='ignore_error' type='astring' value='core,signal' />
99 </property_group>
100
101 </instance>
102
103 <!--
104 Describe the service
105 -->
106 <template>
107 <common_name>
108 <loctext xml:lang='C'>
109 A flexible, very fast, lightweight Web server.
110 </loctext>
111 <loctext xml:lang='es'>
112 Un servidor web, ligero, flexible y muy rapido.
113 </loctext>
114 </common_name>
115 <documentation>
e8c75f5 @alobbs git-svn-id: svn://cherokee-project.com/cherokee/trunk@438 5dc97367-97f1-...
alobbs authored
116 <doc_link name='www.cherokee-project.com' uri='http://www.cherokee-project.com/doc' />
ae9d971 @alobbs git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97f1-...
alobbs authored
117 </documentation>
118 </template>
119 </service>
120 </service_bundle>
Something went wrong with that request. Please try again.