Print this page
5166 sendmail package should be replaceable
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/fm/notify/smtp-notify/common/smtp-notify.xml
+++ new/usr/src/cmd/fm/notify/smtp-notify/common/smtp-notify.xml
1 1 <?xml version="1.0"?>
2 2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 3 <!--
4 4 Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
5 5
6 6 CDDL HEADER START
7 7
8 8 The contents of this file are subject to the terms of the
9 9 Common Development and Distribution License (the "License").
10 10 You may not use this file except in compliance with the License.
11 11
12 12 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13 13 or http://www.opensolaris.org/os/licensing.
14 14 See the License for the specific language governing permissions
15 15 and limitations under the License.
16 16
17 17 When distributing Covered Code, include this CDDL HEADER in each
18 18 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19 19 If applicable, add the following below this CDDL HEADER, with the
20 20 fields enclosed by brackets "[]" replaced with your own identifying
21 21 information: Portions Copyright [yyyy] [name of copyright owner]
22 22
23 23 CDDL HEADER END
24 24
25 25 NOTE: This service manifest is not editable; its contents will
26 26 be overwritten by package or patch operations, including
27 27 operating system upgrade. Make customizations in a different
28 28 file.
29 29 -->
30 30
31 31 <service_bundle type='manifest' name='SUNWckr:fmd'>
32 32
33 33 <service
34 34 name='system/fm/smtp-notify'
35 35 type='service'
36 36 version='1'>
37 37
38 38 <create_default_instance enabled='true' />
39 39
40 40 <!--
41 41 Just one instance of smtp-notify should be running in any OS instance.
42 42 -->
43 43 <single_instance />
44 44
45 45 <!--
46 46 Add a dependency on SUNWfmd being installed
47 47 -->
48 48 <dependency
49 49 name='SUNWfmd'
50 50 grouping='require_all'
51 51 restart_on='none'
52 52 type='path'>
↓ open down ↓ |
52 lines elided |
↑ open up ↑ |
53 53 <service_fmri value='file://localhost/usr/lib/fm/notify/smtp-notify' />
54 54 </dependency>
55 55
56 56 <dependency
57 57 name='startup_req'
58 58 grouping='require_all'
59 59 restart_on='none'
60 60 type='service'>
61 61 <service_fmri value='svc:/milestone/multi-user:default' />
62 62 <service_fmri value='svc:/system/fmd:default' />
63 - <service_fmri value='svc:/network/sendmail-client:default' />
64 63 </dependency>
65 64
66 65 <exec_method
67 66 type='method'
68 67 name='start'
69 68 exec='/usr/lib/fm/notify/smtp-notify'
70 69 timeout_seconds='0' />
71 70
72 71 <exec_method
73 72 type='method'
74 73 name='stop'
75 74 exec=':kill'
76 75 timeout_seconds='60' />
77 76
78 77 <exec_method
79 78 type='method'
80 79 name='refresh'
81 80 exec=':kill -HUP'
82 81 timeout_seconds='30'>
83 82 <method_context>
84 83 <method_credential user='root' group='root' />
85 84 </method_context>
86 85 </exec_method>
87 86
88 87 <property_group name="general" type="framework">
89 88 <propval name='action_authorization' type='astring'
90 89 value='solaris.smf.manage.smtp-notify' />
91 90 <propval name='value_authorization' type='astring'
92 91 value='solaris.smf.value.smtp-notify' />
93 92 </property_group>
94 93
95 94 <property_group name="config" type="application">
96 95 <propval name="debug" type="boolean" value="false"/>
97 96 <propval name="rootdir" type="astring" value="/"/>
98 97 <propval name='action_authorization' type='astring'
99 98 value='solaris.smf.manage.smtp-notify' />
100 99 <propval name='value_authorization' type='astring'
101 100 value='solaris.smf.value.smtp-notify' />
102 101 </property_group>
103 102
104 103 <stability value='Evolving' />
105 104
106 105 <template>
107 106 <common_name>
108 107 <loctext xml:lang='C'>
109 108 Solaris Email Event Notification Agent
110 109 </loctext>
111 110 </common_name>
112 111 <documentation>
113 112 <manpage title='smtp-notify' section='1M'
114 113 manpath='/usr/share/man' />
115 114 </documentation>
116 115 <pg_pattern name='config' type='application' target='this'
117 116 required='false'>
118 117 <prop_pattern name='debug' type='boolean'
119 118 required='false'>
120 119 <description>
121 120 <loctext xml:lang='C'>
122 121 When set to true, smtp-notify will spool debug messages to /var/fm/notify/smtp-notify.log
123 122 </loctext>
124 123 </description>
125 124 <visibility value='readwrite'/>
126 125 <cardinality min='1' max='1'/>
127 126 </prop_pattern>
128 127 <prop_pattern name='rootdir' type='astring'
129 128 required='false'>
130 129 <description>
131 130 <loctext xml:lang='C'>
132 131 The root directory that will be used for all pathnames evaluated by smtp-notify
133 132 </loctext>
134 133 </description>
135 134 <visibility value='readwrite'/>
136 135 <cardinality min='1' max='1'/>
137 136 </prop_pattern>
138 137 </pg_pattern>
139 138 </template>
140 139 </service>
141 140
142 141 </service_bundle>
↓ open down ↓ |
69 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX