ntp.xml revision 7412
431N/A<?xml version="1.0"?>
431N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
431N/A<!--
431N/A CDDL HEADER START
431N/A
431N/A The contents of this file are subject to the terms of the
431N/A Common Development and Distribution License (the "License").
431N/A You may not use this file except in compliance with the License.
431N/A
431N/A You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
431N/A or http://www.opensolaris.org/os/licensing.
431N/A See the License for the specific language governing permissions
431N/A and limitations under the License.
431N/A
431N/A When distributing Covered Code, include this CDDL HEADER in each
431N/A file and include the License file at usr/src/OPENSOLARIS.LICENSE.
431N/A If applicable, add the following below this CDDL HEADER, with the
431N/A fields enclosed by brackets "[]" replaced with your own identifying
431N/A information: Portions Copyright [yyyy] [name of copyright owner]
431N/A
1253N/A CDDL HEADER END
431N/A
431N/A Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved.
431N/A
431N/A NOTE: This service manifest is not editable; its contents will
431N/A be overwritten by package or patch operations, including
1123N/A operating system upgrade. Make customizations in a different
1123N/A file.
471N/A-->
471N/A
693N/A<service_bundle type='manifest' name='SUNWntpr:ntp'>
693N/A
431N/A<service
431N/A name='network/ntp'
1416N/A type='service'
431N/A version='1'>
431N/A <single_instance />
431N/A <dependency
1123N/A name='network'
693N/A grouping='require_any'
431N/A restart_on='error'
431N/A type='service'>
431N/A <service_fmri value='svc:/network/service' />
431N/A </dependency>
431N/A
431N/A <dependency
431N/A name='filesystem'
431N/A grouping='require_all'
431N/A restart_on='error'
431N/A type='service'>
431N/A <service_fmri value='svc:/system/filesystem/minimal' />
431N/A </dependency>
431N/A
431N/A <dependency
431N/A name='ptp'
431N/A grouping='exclude_all'
431N/A restart_on='none'
431N/A type='service'>
431N/A <service_fmri value='svc:/network/ptp:default' />
431N/A </dependency>
431N/A
431N/A<!-- <dependent
431N/A name='ntp_multi-user'
431N/A grouping='optional_all'
431N/A restart_on='none'>
431N/A <service_fmri value='svc:/milestone/multi-user' />
431N/A </dependent>
431N/A-->
431N/A
431N/A <exec_method
431N/A type='method'
431N/A name='start'
431N/A exec='/lib/svc/method/ntp %m'
431N/A timeout_seconds='600'>
431N/A <method_context>
431N/A <method_credential
431N/A user='daemon'
431N/A group='daemon'
431N/A privileges=
431N/A'basic,!file_link_any,!proc_info,!proc_session,!sys_ib_info,!dax_access,net_privaddr,proc_lock_memory,sys_time,{file_write}:/tmp/*,{zone}:/var/ntp/*,{zone}:/system/volatile/ntp.pid,{file_dac_read,file_dac_search}:/etc/inet/*'
431N/A />
431N/A </method_context>
431N/A </exec_method>
431N/A
431N/A <exec_method
431N/A type='method'
431N/A name='restart'
1106N/A exec='/lib/svc/method/ntp %m'
431N/A timeout_seconds='1800'>
1106N/A <method_context>
1106N/A <method_credential
1106N/A user='daemon'
1106N/A group='daemon'
431N/A privileges=
431N/A'basic,!file_link_any,!proc_info,!proc_session,!sys_ib_info,!dax_access,net_privaddr,proc_lock_memory,sys_time,{file_write}:/tmp/*,{zone}:/var/ntp/*,{zone}:/system/volatile/ntp.pid,{file_dac_read,file_dac_search}:/etc/inet/*'
431N/A />
431N/A </method_context>
431N/A </exec_method>
431N/A
431N/A <exec_method
431N/A type='method'
431N/A name='stop'
431N/A exec=':kill'
431N/A timeout_seconds='60' />
431N/A
431N/A <property_group name='general' type='framework'>
431N/A <!-- to start stop ntpd -->
431N/A <propval name='action_authorization' type='astring'
431N/A value='solaris.smf.manage.ntp' />
431N/A <propval name='value_authorization' type='astring'
431N/A value='solaris.smf.value.ntp' />
526N/A </property_group>
431N/A
431N/A <instance name="default" enabled="false">
431N/A <property_group name='config' type='application' >
526N/A <!-- default property settings for ntpd(8). -->
431N/A
526N/A <propval
526N/A name='wait_for_sync'
526N/A type='boolean'
526N/A value='false' />
526N/A
526N/A <propval
526N/A name='no_auth_required'
526N/A type='boolean'
431N/A value='false' />
431N/A
431N/A <propval
431N/A name='verbose_logging'
431N/A type='boolean'
610N/A value='false' />
431N/A
431N/A <propval
431N/A name='slew_always'
431N/A type='boolean'
431N/A value='false' />
431N/A
431N/A <propval
431N/A name='allow_step_at_boot'
431N/A type='boolean'
431N/A value='true' />
431N/A
431N/A <propval
431N/A name='always_allow_large_step'
431N/A type='boolean'
610N/A value='true' />
431N/A
431N/A <propval
431N/A name='logfile'
431N/A type='astring'
431N/A value='/var/ntp/ntp.log' />
431N/A
431N/A <propval
431N/A name='debuglevel'
431N/A type='integer'
431N/A value='0' />
431N/A
431N/A <propval
431N/A name='mdnsregister'
431N/A type='boolean'
431N/A value='false' />
431N/A
431N/A <!-- to change properties -->
431N/A <propval
431N/A name='value_authorization'
431N/A type='astring'
431N/A value='solaris.smf.value.ntp' />
431N/A
431N/A </property_group>
431N/A </instance>
431N/A <stability value='Unstable' />
431N/A
431N/A <template>
431N/A <common_name>
431N/A <loctext xml:lang='C'>
431N/A Network Time Protocol (NTP) Version 4
431N/A </loctext>
431N/A </common_name>
431N/A <documentation>
431N/A <manpage title='ntpd' section='8' />
431N/A <manpage title='ntp.conf' section='4' />
431N/A <manpage title='ntpq' section='8' />
431N/A </documentation>
773N/A </template>
773N/A</service>
773N/A
773N/A</service_bundle>
773N/A