blob: 4d5ac7c316e1b8eafb3d1782db9994ad8ae66c24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:py="http://genshi.edgewall.org/" xml:lang="en">
<xsd:annotation>
<xsd:documentation>
services schema for bcfg2
Narayan Desai, Argonne National Laboratory
</xsd:documentation>
</xsd:annotation>
<xsd:include schemaLocation="types.xsd"/>
<xsd:import namespace="http://genshi.edgewall.org/"
schemaLocation="genshi.xsd"/>
<xsd:simpleType name='RestartEnum'>
<xsd:restriction base='xsd:string'>
<xsd:enumeration value='true'/>
<xsd:enumeration value='false'/>
<xsd:enumeration value='interactive'/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ServiceType">
<xsd:annotation>
<xsd:documentation>
Concrete description of a service entry. Note that, due to
the great proliferation of init systems, many of the
attributes listed only apply to one or a few client tools.
</xsd:documentation>
</xsd:annotation>
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The name of the service.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="status" type="StatusEnum" default="off">
<xsd:annotation>
<xsd:documentation>
Whether the service should start at boot. If this is set to
"ignore", then the boot-time status of the service will not
be checked.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="restart" type="RestartEnum" default="true">
<xsd:annotation>
<xsd:documentation>
Whether or not to restart the service when the bundle is
modified. (New in 1.3; replaces "mode" attribute.)
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="install" type="xsd:boolean" default="true">
<xsd:annotation>
<xsd:documentation>
Whether or not to install the service initially. (New in
1.3; replaces "mode" attribute.)
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="type" type="ServiceTypeEnum">
<xsd:annotation>
<xsd:documentation>
Driver to use on the client to manage this service.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="FMRI" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The resource identifier for SMF services.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="sequence" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
Order for service startup. Only meaningful for DebInit
services.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="target" type="xsd:string" default="restart">
<xsd:annotation>
<xsd:documentation>
Command to pass to the service management system when
restarting a service.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="parameters" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
Parameters to pass to the service. Only meaningful for
Upstart services.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attributeGroup ref="py:genshiAttrs"/>
</xsd:complexType>
</xsd:schema>
|