1 <?xml version="1.0"?> 2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 3 <!-- 4 Copyright 2005 Sun Microsystems, Inc. All rights reserved. 5 Use is subject to license terms. 6 Copyright 2012 OmniTI Computer Consulting, Inc. All rights reserved. 7 8 CDDL HEADER START 9 10 The contents of this file are subject to the terms of the 11 Common Development and Distribution License, Version 1.0 only 12 (the "License"). You may not use this file except in compliance 13 with the License. 14 15 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 16 or http://www.opensolaris.org/os/licensing. 17 See the License for the specific language governing permissions 18 and limitations under the License. 19 20 When distributing Covered Code, include this CDDL HEADER in each 21 file and include the License file at usr/src/OPENSOLARIS.LICENSE. 22 If applicable, add the following below this CDDL HEADER, with the 23 fields enclosed by brackets "[]" replaced with your own identifying 24 information: Portions Copyright [yyyy] [name of copyright owner] 25 26 CDDL HEADER END 27 28 ident "%Z%%M% %I% %E% SMI" 29 30 NOTE: This service manifest is not editable; its contents will 31 be overwritten by package or patch operations, including 32 operating system upgrade. Make customizations in a different 33 file. 34 --> 35 36 <service_bundle type='manifest' name='SUNWcsr:single-user'> 37 38 <service 39 name='milestone/single-user' 40 type='service' 41 version='1'> 42 43 <create_default_instance enabled='true' /> 44 45 <single_instance /> 46 47 <dependency 48 name='nodename' 49 grouping='require_all' 50 restart_on='none' 51 type='service'> 52 <service_fmri value='svc:/system/identity:node' /> 53 </dependency> 54 55 <dependency 56 name='filesystem-minimal' 57 grouping='require_all' 58 restart_on='none' 59 type='service'> 60 <service_fmri value='svc:/system/filesystem/minimal' /> 61 </dependency> 62 63 <dependency 64 name='milestone-devices' 65 grouping='require_all' 66 restart_on='none' 67 type='service'> 68 <service_fmri value='svc:/milestone/devices' /> 69 </dependency> 70 71 <dependency 72 name='manifests' 73 grouping='require_all' 74 restart_on='none' 75 type='service'> 76 <service_fmri value='svc:/system/manifest-import' /> 77 </dependency> 78 79 <dependency 80 name='loopback-network' 81 grouping='require_any' 82 restart_on='none' 83 type='service'> 84 <service_fmri value='svc:/network/loopback' /> 85 </dependency> 86 87 <dependency 88 name='network' 89 grouping='optional_all' 90 restart_on='none' 91 type='service'> 92 <service_fmri value='svc:/milestone/network' /> 93 </dependency> 94 95 <!-- 96 We can't know how long legacy init scripts will take to run. Set 97 the timeout value high enough to allow them to take their time 98 to start. 99 --> 100 101 <exec_method 102 type='method' 103 name='start' 104 exec='/sbin/rcS start' 105 timeout_seconds='1800' /> 106 107 <exec_method 108 type='method' 109 name='stop' 110 exec=':true' 111 timeout_seconds='0' /> 112 113 <!-- 114 The init scripts should never automatically be run twice. 115 duration=transient tells svc.startd not to restart if no 116 processes are left running, and timeout_retry=false tells 117 svc.startd not to retry the start method if it times out. 118 --> 119 <property_group name='startd' type='framework'> 120 <propval name='duration' type='astring' value='transient' /> 121 <propval name='timeout_retry' type='boolean' value='false' /> 122 </property_group> 123 124 <stability value='Evolving' /> 125 126 <template> 127 <common_name> 128 <loctext xml:lang='C'> 129 single-user milestone 130 </loctext> 131 </common_name> 132 <documentation> 133 <manpage title='init' section='1M' 134 manpath='/usr/share/man' /> 135 </documentation> 136 </template> 137 </service> 138 139 </service_bundle>