2195N/A<?xml version="1.0"?>
2195N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
2195N/A<!--
2195N/A CDDL HEADER START
2195N/A
2195N/A The contents of this file are subject to the terms of the
2195N/A Common Development and Distribution License (the "License").
2195N/A You may not use this file except in compliance with the License.
2195N/A
2195N/A You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2195N/A or http://www.opensolaris.org/os/licensing.
2195N/A See the License for the specific language governing permissions
2195N/A and limitations under the License.
2195N/A
2195N/A When distributing Covered Code, include this CDDL HEADER in each
2195N/A file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2195N/A If applicable, add the following below this CDDL HEADER, with the
2195N/A fields enclosed by brackets "[]" replaced with your own identifying
2195N/A information: Portions Copyright [yyyy] [name of copyright owner]
2195N/A
2195N/A CDDL HEADER END
2195N/A
5005N/A Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
2195N/A
2195N/A NOTE: This service manifest is not editable; its contents will
2195N/A be overwritten by package or patch operations, including
2195N/A operating system upgrade. Make customizations in a different
2195N/A file.
2195N/A-->
2195N/A
2195N/A<service_bundle type='manifest' name='service-network:ptp'>
2195N/A
2195N/A<service name='network/ptp' type='service' version='1'>
2195N/A <single_instance />
2195N/A <dependency
2195N/A name='network'
2195N/A grouping='require_any'
2195N/A restart_on='error'
2195N/A type='service'>
2195N/A <service_fmri value='svc:/network/service' />
2195N/A </dependency>
2195N/A
2195N/A <dependency
2195N/A name='filesystem'
2195N/A grouping='require_all'
2195N/A restart_on='error'
2195N/A type='service'>
2195N/A <service_fmri value='svc:/system/filesystem/minimal' />
2195N/A </dependency>
2195N/A
2195N/A <dependency
2195N/A name='ntp'
2195N/A grouping='exclude_all'
2195N/A restart_on='none'
2195N/A type='service'>
2195N/A <service_fmri value='svc:/network/ntp:default' />
2195N/A </dependency>
2195N/A
2195N/A <exec_method type='method' name='start'
2195N/A exec='/lib/svc/method/ptp %m' timeout_seconds='60'>
2195N/A <method_context>
2195N/A <method_credential
2195N/A user='root' group='root'
2195N/A privileges='basic,!file_link_any,!proc_info,!proc_session,net_privaddr,net_rawaccess,sys_time'
2195N/A />
2195N/A </method_context>
2195N/A </exec_method>
2195N/A
2195N/A <exec_method type='method' name='restart'
2195N/A exec='/lib/svc/method/ptp %m' timeout_seconds='180'>
2195N/A <method_context>
2195N/A <method_credential
2195N/A user='root' group='root'
2195N/A privileges='basic,!file_link_any,!proc_info,!proc_session,net_privaddr,net_rawaccess,sys_time'
2195N/A />
2195N/A </method_context>
2195N/A </exec_method>
2195N/A
2195N/A <exec_method type='method' name='stop'
2195N/A exec=':kill' timeout_seconds='60' />
2195N/A
2195N/A <property_group name='general' type='framework'>
2195N/A <!-- to start stop ptpd -->
2195N/A <propval name='action_authorization' type='astring'
2195N/A value='solaris.smf.manage.ptp' />
2195N/A <propval name='value_authorization' type='astring'
2195N/A value='solaris.smf.value.ptp' />
2195N/A </property_group>
2195N/A
2195N/A <instance name="default" enabled="false">
2195N/A <property_group name='config' type='application' >
5005N/A <!-- default property settings for ptpd(8). -->
2195N/A
2195N/A <propval name='listen_ifname' type='astring' value='' />
2195N/A
2195N/A <!-- node_type could be either slave or master -->
2195N/A <propval name='node_type' type='astring' value='' />
2195N/A <propval name='use_hw' type='boolean' value='false' />
2195N/A <propval name='domain' type='integer' value='0' />
2195N/A <propval name='announce_interval' type='integer' value='2' />
2195N/A <propval name='sync_interval' type='integer' value='1' />
2507N/A <propval name='enable_logging' type='boolean' value='false' />
2195N/A
2195N/A <!-- default is /var/log/ptp.log -->
2195N/A <propval name='logfile' type='astring'
2195N/A value='/var/log/ptp.log' />
2195N/A
2195N/A <propval name='other_options' type='astring' value='' />
2195N/A
2195N/A <!-- to change properties -->
2195N/A <propval
2195N/A name='value_authorization'
2195N/A type='astring'
2195N/A value='solaris.smf.value.ptp' />
2195N/A
2195N/A </property_group>
2195N/A </instance>
2195N/A <stability value='Unstable' />
2195N/A
2195N/A <template>
2195N/A <common_name>
2195N/A <loctext xml:lang='C'>
2195N/A Precision Time Protocol (PTP) IEEE 1588-2008 (Version 2)
2195N/A </loctext>
2195N/A </common_name>
2195N/A <documentation>
5005N/A <manpage title='ptpd' section='8' />
2195N/A </documentation>
2195N/A </template>
2195N/A</service>
2195N/A
2195N/A</service_bundle>