5 The contents of this file are subject to the terms of the
6 Common Development and Distribution License (the "License").
7 You may not use this file except in compliance with the License.
9 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 or http://www.opensolaris.org/os/licensing.
11 See the License for the specific language governing permissions
12 and limitations under the License.
14 When distributing Covered Code, include this CDDL HEADER in each
15 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 If applicable, add the following below this CDDL HEADER, with the
17 fields enclosed by brackets "[]" replaced with your own identifying
18 information: Portions Copyright [yyyy] [name of copyright owner]
23 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
25 Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
28 <service_bundle type='manifest' name='ejabberd'>
36 Because we may have multiple instances of network/xmpp
37 provided by different implementations, we keep dependencies
38 and methods within the instance.
41 <instance name='ejabberd' enabled='false'>
43 Wait for network interfaces to be initialized.
45 <dependency name='network'
46 grouping='require_all'
49 <service_fmri value='svc:/milestone/network:default'/>
53 Wait for all local filesystems to be mounted.
55 <dependency name='filesystem-local'
56 grouping='require_all'
60 value='svc:/system/filesystem/local:default'/>
64 <method_credential user='daemon' group='daemon' />
66 <envvar name='HOME' value='/tmp' />
73 exec='/lib/svc/method/svc-xmpp-ejabberd start'
74 timeout_seconds='60' />
79 exec='/lib/svc/method/svc-xmpp-ejabberd stop'
80 timeout_seconds='60' />
82 <property_group name='general' type='framework'>
83 <propval name='action_authorization' type='astring'
84 value='solaris.smf.manage.ejabberd' />
85 <propval name='value_authorization' type='astring'
86 value='solaris.smf.value.ejabberd' />
89 <property_group name='startd' type='framework'>
90 <!-- sub-process core dumps shouldn't restart
92 <propval name='ignore_error' type='astring'
93 value='core,signal' />
98 <loctext xml:lang='C'>
99 ejabberd Jabber/XMPP Server
103 <manpage title='ejabberdctl' section='8'
104 manpath='/usr/share/man' />
105 <doc_link name='ejabberd.im'
106 uri='http://www.ejabberd.im' />
111 <stability value='Evolving' />