3
Copyright (C) 2009 Sun Microsystems
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; version 2 of the License.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
14
You should have received a copy of the GNU General Public License
15
along with this program; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
19
<service_bundle type="manifest" name="drizzle">
20
<service name="application/database/drizzle" type="service" version="1">
23
<dependency name="multi-user-server" grouping="require_all" restart_on="none" type="service">
24
<service_fmri value="svc:/milestone/multi-user-server" />
28
<!-- We need to map the name of the authorizations we defined to this service -->
29
<property_group name="general" type="framework">
30
<propval name="action_authorization" type="astring"
31
value="solaris.smf.manage.drizzle" />
32
<propval name="value_authorization" type="astring"
33
value="solaris.smf.value.drizzle" />
37
<property_group name="drizzle" type="application">
38
<propval name="datadir" type="astring"
39
value="@localstatedir@/data" />
40
<propval name="corepattern" type="astring"
41
value="@localstatedir@/crash/core.%f.%p" />
42
<propval name="port" type="astring"
46
<!-- Define the instance and how to start / stop it -->
47
<instance name="drizzle" enabled="false">
48
<exec_method type="method" name="start" exec="/lib/svc/method/drizzle start" timeout_seconds="30" >
50
<method_credential user="drizzled" group="drizzled" />
53
<exec_method type="method" name="stop" exec="/lib/svc/method/drizzle stop %{restarter/contract}" timeout_seconds="60" >
55
<method_credential user="drizzled" group="drizzled" />
61
<stability value="Unstable" />
64
<loctext xml:lang="C">Drizzle database server</loctext>
67
<manpage title="drizzle" section="1" manpath="@prefix@/share/man" />