1<?xml version="1.0"?> 2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 3<!-- 4 CDDL HEADER START 5 6 The contents of this file are subject to the terms of the 7 Common Development and Distribution License (the "License"). 8 You may not use this file except in compliance with the License. 9 10 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 11 or http://www.opensolaris.org/os/licensing. 12 See the License for the specific language governing permissions 13 and limitations under the License. 14 15 When distributing Covered Code, include this CDDL HEADER in each 16 file and include the License file at usr/src/OPENSOLARIS.LICENSE. 17 If applicable, add the following below this CDDL HEADER, with the 18 fields enclosed by brackets "[]" replaced with your own identifying 19 information: Portions Copyright [yyyy] [name of copyright owner] 20 21 CDDL HEADER END 22 23 Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24 Use is subject to license terms. 25 26 ident "%Z%%M% %I% %E% SMI" 27 28 NOTE: This service manifest is not editable; its contents will 29 be overwritten by package or patch operations, including 30 operating system upgrade. Make customizations in a different 31 file. 32--> 33 34<service_bundle type='manifest' name='SUNWcsr:syslog'> 35 36<service 37 name='system/system-log' 38 type='service' 39 version='1'> 40 41 <create_default_instance enabled='false' /> 42 43 <single_instance/> 44 45 <dependency 46 name='milestone' 47 grouping='require_all' 48 restart_on='none' 49 type='service'> 50 <service_fmri value='svc:/milestone/sysconfig' /> 51 </dependency> 52 53 <!-- 54 syslogd(1M) can log to non-root local directories. 55 --> 56 <dependency 57 name='filesystem' 58 grouping='require_all' 59 restart_on='none' 60 type='service'> 61 <service_fmri value='svc:/system/filesystem/local' /> 62 </dependency> 63 64 <!-- 65 syslogd(1M) can log to automounted files. 66 --> 67 <dependency 68 name='autofs' 69 grouping='optional_all' 70 restart_on='none' 71 type='service'> 72 <service_fmri value='svc:/system/filesystem/autofs' /> 73 </dependency> 74 75 <!-- 76 syslogd(1M) needs nameservice resolution to log to remote hosts. 77 --> 78 <dependency 79 name='name-services' 80 grouping='require_all' 81 restart_on='none' 82 type='service'> 83 <service_fmri value='svc:/milestone/name-services' /> 84 </dependency> 85 86 <dependent 87 name='system-log_single-user' 88 grouping='optional_all' 89 restart_on='none'> 90 <service_fmri value='svc:/milestone/multi-user' /> 91 </dependent> 92 93 <!-- 94 The system-log start method includes a "savecore -m". 95 Use an appropriately long timeout value. 96 --> 97 <exec_method 98 type='method' 99 name='start' 100 exec='/lib/svc/method/system-log' 101 timeout_seconds='600' /> 102 103 <exec_method 104 type='method' 105 name='stop' 106 exec=':kill' 107 timeout_seconds='60' /> 108 109 <exec_method 110 type='method' 111 name='refresh' 112 exec=':kill -HUP' 113 timeout_seconds='60' /> 114 115 <property_group name='general' type='framework'> 116 <!-- to start stop syslog daemon --> 117 <propval name='action_authorization' type='astring' 118 value='solaris.smf.manage.system-log' /> 119 </property_group> 120 121 <property_group name='config' type='application'> 122 <!-- default property settings for syslogd(1m) --> 123 124 <!-- Specifies whether remote messages are logged. 125 log_from_remote=false is equivalent to the -t 126 command-line option. The default value for 127 log_from_remote is true. 128 --> 129 <propval 130 name='log_from_remote' 131 type='boolean' 132 value='true' /> 133 134 <!-- authorization to modify the configuration properties --> 135 <propval name='value_authorization' type='astring' 136 value='solaris.smf.value.system-log' /> 137 </property_group> 138 139 <stability value='Unstable' /> 140 141 <template> 142 <common_name> 143 <loctext xml:lang='C'> system log 144 </loctext> 145 </common_name> 146 <documentation> 147 <manpage title='syslogd' section='1M' 148 manpath='/usr/share/man' /> 149 </documentation> 150 </template> 151</service> 152 153</service_bundle> 154