source: trunk/solaris/devices-openct-fabric.xml-dist @ 611

Revision 611, 1.6 KB checked in by aj, 7 years ago (diff)

Add files to make using openct on solaris easier.

Line 
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4        Copyright 2005 William Wanders.  All rights reserved.
5        Use is subject to license terms.
6
7        ident   "@(#)devices-openct-fabric.xml  1.0     05/02/25 SMI"
8-->
9
10<service_bundle type='manifest' name='devices-openct-fabric'>
11
12<service
13        name='system/device/openct-fabric'
14        type='service'
15        version='1'>
16
17        <create_default_instance enabled='true' />
18
19        <single_instance/>
20
21        <dependency
22                name='sysevent'
23                grouping='require_all'
24                restart_on='none'
25                type='service'>
26                <service_fmri value='svc:/system/sysevent' />
27        </dependency>
28<!--
29        <dependent
30                name='devices'
31                grouping='require_all'
32                restart_on='none'>
33                <service_fmri value='svc:/milestone/devices' />
34        </dependent>
35-->
36
37        <exec_method
38                type='method'
39                name='start'
40                exec='/lib/svc/method/openct-fabric start'
41                timeout_seconds='60' />
42
43        <exec_method
44                type='method'
45                name='stop'
46                exec='/lib/svc/method/openct-fabric stop'
47                timeout_seconds='60' />
48
49        <property_group name='startd' type='framework'>
50                <propval name='duration' type='astring'
51                        value='transient' />
52        </property_group>
53
54        <stability value='Unstable' />
55
56        <template>
57                <common_name>
58                        <loctext xml:lang='C'>
59                                Solaris OpenCT fabric device configuration.
60                        </loctext>
61                </common_name>
62                <documentation>
63                        <manpage title='openct-control' section='1M'
64                                manpath='/usr/share/man' />
65                </documentation>
66        </template>
67</service>
68
69</service_bundle>
Note: See TracBrowser for help on using the repository browser.