2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
7 The contents of this file are subject to the terms of the
8 Common Development and Distribution License (the "License").
9 You may not use this file except in compliance with the License.
11 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12 or http://www.opensolaris.org/os/licensing.
13 See the License for the specific language governing permissions
14 and limitations under the License.
16 When distributing Covered Code, include this CDDL HEADER in each
17 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18 If applicable, add the following below this CDDL HEADER, with the
19 fields enclosed by brackets "[]" replaced with your own identifying
20 information: Portions Copyright [yyyy] [name of copyright owner]
24 Copyright 2008 Sun Microsystems, Inc. All rights reserved.
25 Use is subject to license terms.
27 NOTE: This service manifest is not editable; its contents will
28 be overwritten by package or patch operations, including
29 operating system upgrade. Make customizations in a different file.
32 <service_bundle type='manifest' name='SUNWvscanr:vscan'>
34 <!-- Name the service to 'system/filesystem/vscan' -->
36 name='system/filesystem/vscan'
40 <!-- Service has single instance -->
43 <!-- Identify dependencies. -->
44 <dependency name='network'
45 grouping='require_any'
48 <service_fmri value='svc:/milestone/network'/>
51 <dependency name='filesystem-local'
52 grouping='require_all'
55 <service_fmri value='svc:/system/filesystem/local'/>
58 <property_group name='general' type='framework'>
59 <!-- To Start/Stop/Refresh the service -->
60 <propval name='action_authorization' type='astring'
61 value='solaris.smf.manage.vscan' />
62 <propval name='value_authorization' type='astring'
63 value='solaris.smf.manage.vscan' />
66 <!-- Create default service instance. -->
67 <instance name='icap' enabled='false'>
69 <!-- Identify start/stop/refresh methods -->
73 exec='/usr/lib/vscan/vscand'
74 timeout_seconds='60' >
79 privileges='basic,proc_setid,proc_audit,file_chown_self,file_dac_search,file_dac_read,file_flag_set'
80 limit_privileges='basic,proc_setid,proc_audit,file_chown_self,file_dac_search,file_dac_read,file_flag_set'/>
88 timeout_seconds='60' >
95 timeout_seconds='60' >
98 <!-- vscan service-specific general configuration defaults -->
99 <property_group name='vs_general' type='application'>
100 <stability value='Evolving' />
101 <propval name='value_authorization' type='astring'
102 value='solaris.smf.value.vscan' />
103 <propval name='maxsize' type='astring'
104 value='1GB' override='true'/>
105 <propval name='maxsize_action' type='boolean'
106 value='true' override='true'/>
107 <propval name='types' type='astring'
108 value='+*' override='true'/>
109 <propval name='viruslog' type='astring'
110 value='' override='true'/>
113 <!-- Create Service Template information -->
116 <loctext xml:lang='C'> VSCAN Service daemon</loctext>
119 <manpage title='vscand' section='1M'
120 manpath='/usr/share/man' />
126 <stability value='Evolving' />