Skip to main content

Source code file content

Revision: 2948

17477111 resync manpages from docs group
» Project Revision History

» Checkout URL

pkg-gate / src / svc / pkg-server.xml

Size: 4704 bytes, 1 line
<?xml version="1.0"?>
<!--
	CDDL HEADER START

	The contents of this file are subject to the terms of the
	Common Development and Distribution License (the "License").
	You may not use this file except in compliance with the License.

	You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
	or http://www.opensolaris.org/os/licensing.
	See the License for the specific language governing permissions
	and limitations under the License.

	When distributing Covered Code, include this CDDL HEADER in each
	file and include the License file at usr/src/OPENSOLARIS.LICENSE.
	If applicable, add the following below this CDDL HEADER, with the
	fields enclosed by brackets "[]" replaced with your own identifying
	information: Portions Copyright [yyyy] [name of copyright owner]

	CDDL HEADER END

	Copyright (c) 2009, 2013 Oracle and/or its affiliates.  All rights reserved.

	NOTE:  This service manifest is not editable; its contents will
	be overwritten by package or patch operations, including
	operating system upgrade.  Make customizations in a different
	file.
-->

<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">

<service_bundle type='manifest' name=':pkg-server'>

<service
	name='application/pkg/server'
	type='service'
	version='1.1'>

	<create_default_instance enabled='false' />

	<dependency
		name='fs'
		grouping='require_all'
		restart_on='none'
		type='service'>
		<service_fmri value='svc:/system/filesystem/local' />
	</dependency>

	<!--
	    If we're homed on an autofs mount point, then we should
	    delay until our path becomes available.
	-->
	<dependency
		name='autofs'
		grouping='optional_all'
		restart_on='none'
		type='service'>
		<service_fmri value='svc:/system/filesystem/autofs' />
	</dependency>

	<!--
	    To ensure that the sequence IDs between two repositories are
	    sensible, we should delay startup until we can issue correct
	    timestamps.
	-->
	<dependency
		name='ntp'
		grouping='optional_all'
		restart_on='none'
		type='service'>
		<service_fmri value='svc:/network/ntp' />
	</dependency>

	<dependency
		name='network'
		grouping='require_all'
		restart_on='none'
		type='service'>
		<service_fmri value='svc:/milestone/network' />
	</dependency>

	<exec_method
		type='method'
		name='start'
		exec='%{pkg/pkg_root}/lib/svc/method/svc-pkg-server %m'
		timeout_seconds='0' />

	<exec_method
		type='method'
		name='stop'
		exec='%{pkg/pkg_root}/lib/svc/method/svc-pkg-server %m %{restarter/contract}'
		timeout_seconds='30' />

	<property_group name='pkg' type='application'>
		<propval name='pkg_root' type='astring' value='/' />
		<propval name='inst_root' type='astring' value='/var/pkgrepo' />
		<propval name='port' type='count' value='80' />
		<propval name='proxy_base' type='astring' value='' />
		<propval name='socket_timeout' type='count' value='60' />
		<propval name='threads' type='count' value='60' />
		<propval name='cfg_file' type='astring' value='' />
		<propval name='content_root' type='astring'
			value='usr/share/lib/pkg' />
		<propval name='debug' type='astring'
			value='' />
		<propval name='log_access' type='astring'
			value='none' />
		<propval name='log_errors' type='astring'
			value='stderr' />
		<propval name='mirror' type='boolean' value='false'/>
		<propval name='readonly' type='boolean' value='true'/>
		<propval name='ssl_cert_file' type='astring' value='' />
		<propval name='ssl_dialog' type='astring' value='smf' />
		<propval name='ssl_key_file' type='astring' value='' />
		<propval name='writable_root' type='astring' value=''/>
		<propval name='sort_file_max_size' type='astring' value=''/>
		<propval name='file_root' type='astring' value='' />
		<property name='address' type='net_address'/>
                <propval name='standalone' type='boolean' value='true'/>
	</property_group>

	<property_group name='pkg_bui' type='application'>
		<propval name='feed_description' type='ustring' value='' />
		<propval name='feed_icon' type='ustring'
			value='web/_themes/pkg-block-icon.png' />
		<propval name='feed_logo' type='ustring'
			value='web/_themes/pkg-block-logo.png' />
		<propval name='feed_name' type='ustring'
			value='package repository feed' />
		<propval name='feed_window' type='count' value='24' />
	</property_group>

	<property_group name='pkg_secure' type='application'>
		<propval name='read_authorization' type='astring'
			value='solaris.smf.read.pkg-server' />
		<propval name='ssl_key_passphrase' type='astring' value='' />
	</property_group>

	<stability value='Unstable' />

	<template>
		<common_name>
			<loctext xml:lang='C'>
image packaging repository
			</loctext>
		</common_name>
	</template>
</service>

</service_bundle>
 
 
Close
loading
Please Confirm
Close