1<?xml version="1.0"?> 2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 3<!-- 4 Copyright 2006 Sun Microsystems, Inc. All rights reserved. 5 Use is subject to license terms. 6 7 CDDL HEADER START 8 9 The contents of this file are subject to the terms of the 10 Common Development and Distribution License (the "License"). 11 You may not use this file except in compliance with the License. 12 13 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 or http://www.opensolaris.org/os/licensing. 15 See the License for the specific language governing permissions 16 and limitations under the License. 17 18 When distributing Covered Code, include this CDDL HEADER in each 19 file and include the License file at usr/src/OPENSOLARIS.LICENSE. 20 If applicable, add the following below this CDDL HEADER, with the 21 fields enclosed by brackets "[]" replaced with your own identifying 22 information: Portions Copyright [yyyy] [name of copyright owner] 23 24 CDDL HEADER END 25 26 NOTE: This service manifest is not editable; its contents will 27 be overwritten by package or patch operations, including 28 operating system upgrade. Make customizations in a different 29 file. 30--> 31 32<service_bundle type='manifest' name='SUNW:dscp'> 33 34<service 35 name='platform/sun4u/dscp' 36 type='service' 37 version='1'> 38 39 <create_default_instance enabled='false' /> 40 41 <single_instance /> 42 43 <!-- Required for the basic networking to be up --> 44 <dependency 45 name='network' 46 grouping='require_any' 47 restart_on='error' 48 type='service'> 49 <service_fmri value='svc:/milestone/network' /> 50 </dependency> 51 52 <!-- Required as non-root local directories could be accessed --> 53 <dependency 54 name='local-filesystems' 55 type='service' 56 grouping='require_all' 57 restart_on='none'> 58 <service_fmri value='svc:/system/filesystem/local' /> 59 </dependency> 60 61 <!-- Required for the DSCP IPsec keys to be installed --> 62 <dependency 63 name='sckmd' 64 type='service' 65 grouping='optional_all' 66 restart_on='none'> 67 <service_fmri value='svc:/platform/sun4u/sckmd:default' /> 68 </dependency> 69 70 <!-- On OPL platform, the 'dcs' requires the DSCP to be up --> 71 <dependent 72 name='dscp_dcs' 73 grouping='optional_all' 74 restart_on='none'> 75 <service_fmri value='svc:/platform/sun4u/dcs:default' /> 76 </dependent> 77 78 <!-- The FMA event-Transport module requires the DSCP to be up --> 79 <dependent 80 name='dscp_fmd' 81 grouping='optional_all' 82 restart_on='none'> 83 <service_fmri value='svc:/system/fmd:default' /> 84 </dependent> 85 86 <!-- 87 The 'ntp' service on an OPL domain can be configured 88 with SP as the NTP server, so create a dependency such that 89 the 'ntp' service is started after the DSCP service. 90 --> 91 <dependent 92 name='dscp_ntp' 93 grouping='optional_all' 94 restart_on='none'> 95 <service_fmri value='svc:/network/ntp:default' /> 96 </dependent> 97 98 <exec_method 99 type='method' 100 name='start' 101 exec='/lib/svc/method/svc-dscp %m' 102 timeout_seconds='60' /> 103 104 <exec_method 105 type='method' 106 name='refresh' 107 exec='/lib/svc/method/svc-dscp %m' 108 timeout_seconds='60' /> 109 110 <exec_method 111 type='method' 112 name='stop' 113 exec='/lib/svc/method/svc-dscp %m' 114 timeout_seconds='60' /> 115 116 <property_group name='application' type='framework'> 117 <stability value='Evolving' /> 118 <propval name='auto_enable' type='boolean' value='true' /> 119 </property_group> 120 121 <stability value='Evolving' /> 122 123 <template> 124 <common_name> 125 <loctext xml:lang='C'> 126 DSCP Service 127 </loctext> 128 </common_name> 129 <description> 130 <loctext xml:lang='C'> 131 This service starts DSCP on 132 SPARC Enterprise Servers. 133 </loctext> 134 </description> 135 <documentation> 136 <manpage title='prtdscp' section='8' 137 manpath='/usr/share/man' /> 138 </documentation> 139 </template> 140</service> 141 142</service_bundle> 143