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