blob: 5fed912e4b8301a9048eb2838ce311ec13fa0e99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/xml/schema/smf/service_bundle.dtd.1">
<service_bundle type="manifest" name="ntp">
<service name="network/ntp" type="service" version="1">
<single_instance/>
<dependency name="ntp_conf" grouping="require_all" restart_on="restart" type="path">
<service_fmri value="file://localhost/etc/ntp.conf"/>
</dependency>
<dependency name="filesystem" grouping="require_all" restart_on="error" type="service">
<service_fmri value="svc:/system/filesystem/local"/>
</dependency>
<dependency name="loopback" grouping="require_all" restart_on="error" type="service">
<service_fmri value="svc:/network/loopback:default"/>
</dependency>
<dependency name="physical" grouping="require_all" restart_on="error" type="service">
<service_fmri value="svc:/network/physical:default"/>
</dependency>
<dependency name="routing" grouping="optional_all" restart_on="none" type="service">
<service_fmri value="svc:/network/routing-setup"/>
</dependency>
<exec_method type="method" name="start" exec="/usr/sbin/ntpd %{config/options}" timeout_seconds="60">
<method_context>
<method_credential user="root" group="root" privileges="basic,!file_link_any,!proc_info,!proc_session,net_privaddr,proc_lock_memory,sys_time"/>
</method_context>
</exec_method>
<exec_method type="method" name="stop" exec=":kill" timeout_seconds="60"/>
<property_group name="general" type="framework">
<propval name="action_authorization" type="astring" value="solaris.smf.manage.ntp"/>
<propval name="value_authorization" type="astring" value="solaris.smf.value.ntp"/>
</property_group>
<instance name="default" enabled="true">
<property_group name="config" type="application">
<property name="options" type="astring">
<astring_list>
<value_node value="-g"/>
</astring_list>
</property>
<propval name="value_authorization" type="astring" value="solaris.smf.value.ntp"/>
</property_group>
</instance>
<stability value="Unstable"/>
<template>
<common_name>
<loctext xml:lang="C">
Network Time Protocol daemon
</loctext>
</common_name>
<documentation>
<manpage title="ntpd" section="8"/>
<manpage title="ntp.conf" section="5"/>
</documentation>
</template>
</service>
</service_bundle>
|