xref: /titanic_52/usr/src/cmd/svc/milestone/single-user.xml (revision 3e8c3b95d57b4ab5caca2cc99b412489015c4858)
17c478bd9Sstevel@tonic-gate<?xml version="1.0"?>
27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
37c478bd9Sstevel@tonic-gate<!--
47c478bd9Sstevel@tonic-gate Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
57c478bd9Sstevel@tonic-gate Use is subject to license terms.
6*3e8c3b95SDan McDonald Copyright 2015 OmniTI Computer Consulting, Inc.  All rights reserved.
77c478bd9Sstevel@tonic-gate
87c478bd9Sstevel@tonic-gate CDDL HEADER START
97c478bd9Sstevel@tonic-gate
107c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the
117c478bd9Sstevel@tonic-gate Common Development and Distribution License, Version 1.0 only
127c478bd9Sstevel@tonic-gate (the "License").  You may not use this file except in compliance
137c478bd9Sstevel@tonic-gate with the License.
147c478bd9Sstevel@tonic-gate
157c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
167c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
177c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions
187c478bd9Sstevel@tonic-gate and limitations under the License.
197c478bd9Sstevel@tonic-gate
207c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
217c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
227c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
237c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
247c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
257c478bd9Sstevel@tonic-gate
267c478bd9Sstevel@tonic-gate CDDL HEADER END
277c478bd9Sstevel@tonic-gate
287c478bd9Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents will
297c478bd9Sstevel@tonic-gate	be overwritten by package or patch operations, including
307c478bd9Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
317c478bd9Sstevel@tonic-gate	file.
327c478bd9Sstevel@tonic-gate-->
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWcsr:single-user'>
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gate<service
377c478bd9Sstevel@tonic-gate	name='milestone/single-user'
387c478bd9Sstevel@tonic-gate	type='service'
397c478bd9Sstevel@tonic-gate	version='1'>
407c478bd9Sstevel@tonic-gate
417c478bd9Sstevel@tonic-gate	<create_default_instance enabled='true' />
427c478bd9Sstevel@tonic-gate
437c478bd9Sstevel@tonic-gate	<single_instance />
447c478bd9Sstevel@tonic-gate
457c478bd9Sstevel@tonic-gate	<dependency
467c478bd9Sstevel@tonic-gate		name='nodename'
477c478bd9Sstevel@tonic-gate		grouping='require_all'
487c478bd9Sstevel@tonic-gate		restart_on='none'
497c478bd9Sstevel@tonic-gate		type='service'>
507c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/system/identity:node' />
517c478bd9Sstevel@tonic-gate	</dependency>
527c478bd9Sstevel@tonic-gate
537c478bd9Sstevel@tonic-gate	<dependency
547c478bd9Sstevel@tonic-gate		name='filesystem-minimal'
557c478bd9Sstevel@tonic-gate		grouping='require_all'
567c478bd9Sstevel@tonic-gate		restart_on='none'
577c478bd9Sstevel@tonic-gate		type='service'>
587c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/system/filesystem/minimal' />
597c478bd9Sstevel@tonic-gate	</dependency>
607c478bd9Sstevel@tonic-gate
617c478bd9Sstevel@tonic-gate	<dependency
627c478bd9Sstevel@tonic-gate		name='milestone-devices'
637c478bd9Sstevel@tonic-gate		grouping='require_all'
647c478bd9Sstevel@tonic-gate		restart_on='none'
657c478bd9Sstevel@tonic-gate		type='service'>
667c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/milestone/devices' />
677c478bd9Sstevel@tonic-gate	</dependency>
687c478bd9Sstevel@tonic-gate
697c478bd9Sstevel@tonic-gate	<dependency
707c478bd9Sstevel@tonic-gate		name='manifests'
717c478bd9Sstevel@tonic-gate		grouping='require_all'
727c478bd9Sstevel@tonic-gate		restart_on='none'
737c478bd9Sstevel@tonic-gate		type='service'>
747c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/system/manifest-import' />
757c478bd9Sstevel@tonic-gate	</dependency>
767c478bd9Sstevel@tonic-gate
777c478bd9Sstevel@tonic-gate	<dependency
787c478bd9Sstevel@tonic-gate		name='loopback-network'
797c478bd9Sstevel@tonic-gate		grouping='require_any'
807c478bd9Sstevel@tonic-gate		restart_on='none'
817c478bd9Sstevel@tonic-gate		type='service'>
827c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/loopback' />
837c478bd9Sstevel@tonic-gate	</dependency>
847c478bd9Sstevel@tonic-gate
857c478bd9Sstevel@tonic-gate	<dependency
867c478bd9Sstevel@tonic-gate		name='network'
877c478bd9Sstevel@tonic-gate		grouping='optional_all'
887c478bd9Sstevel@tonic-gate		restart_on='none'
897c478bd9Sstevel@tonic-gate		type='service'>
907c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/milestone/network' />
917c478bd9Sstevel@tonic-gate	</dependency>
927c478bd9Sstevel@tonic-gate
937c478bd9Sstevel@tonic-gate	<!--
947c478bd9Sstevel@tonic-gate	  We can't know how long legacy init scripts will take to run.  Set
957c478bd9Sstevel@tonic-gate	  the timeout value high enough to allow them to take their time
967c478bd9Sstevel@tonic-gate	  to start.
977c478bd9Sstevel@tonic-gate	-->
987c478bd9Sstevel@tonic-gate
997c478bd9Sstevel@tonic-gate	<exec_method
1007c478bd9Sstevel@tonic-gate		type='method'
1017c478bd9Sstevel@tonic-gate		name='start'
1027c478bd9Sstevel@tonic-gate		exec='/sbin/rcS start'
1037c478bd9Sstevel@tonic-gate		timeout_seconds='1800' />
1047c478bd9Sstevel@tonic-gate
1057c478bd9Sstevel@tonic-gate	<exec_method
1067c478bd9Sstevel@tonic-gate		type='method'
1077c478bd9Sstevel@tonic-gate		name='stop'
1087c478bd9Sstevel@tonic-gate		exec=':true'
1097c478bd9Sstevel@tonic-gate		timeout_seconds='0' />
1107c478bd9Sstevel@tonic-gate
1117c478bd9Sstevel@tonic-gate	<!--
1127c478bd9Sstevel@tonic-gate	    The init scripts should never automatically be run twice.
1137c478bd9Sstevel@tonic-gate	    duration=transient tells svc.startd not to restart if no
1147c478bd9Sstevel@tonic-gate	    processes are left running, and timeout_retry=false tells
1157c478bd9Sstevel@tonic-gate	    svc.startd not to retry the start method if it times out.
1167c478bd9Sstevel@tonic-gate	-->
1177c478bd9Sstevel@tonic-gate	<property_group name='startd' type='framework'>
1187c478bd9Sstevel@tonic-gate		<propval name='duration' type='astring' value='transient' />
1197c478bd9Sstevel@tonic-gate		<propval name='timeout_retry' type='boolean' value='false' />
1207c478bd9Sstevel@tonic-gate	</property_group>
1217c478bd9Sstevel@tonic-gate
1227c478bd9Sstevel@tonic-gate	<stability value='Evolving' />
1237c478bd9Sstevel@tonic-gate
1247c478bd9Sstevel@tonic-gate	<template>
1257c478bd9Sstevel@tonic-gate		<common_name>
1267c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
1277c478bd9Sstevel@tonic-gate				single-user milestone
1287c478bd9Sstevel@tonic-gate			</loctext>
1297c478bd9Sstevel@tonic-gate		</common_name>
1307c478bd9Sstevel@tonic-gate		<documentation>
1317c478bd9Sstevel@tonic-gate			<manpage title='init' section='1M'
1327c478bd9Sstevel@tonic-gate				manpath='/usr/share/man' />
1337c478bd9Sstevel@tonic-gate		</documentation>
1347c478bd9Sstevel@tonic-gate	</template>
1357c478bd9Sstevel@tonic-gate</service>
1367c478bd9Sstevel@tonic-gate
1377c478bd9Sstevel@tonic-gate</service_bundle>
138