nrpe: update to 4.1.3
[oi-userland.git] / components / sysutils / clamav / files / clamav-milter.xml
blob1815d9ad72fe0aac80f093b23541041fd1db5066
1 <?xml version='1.0'?>
2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3 <service_bundle type='manifest' name='clamav'>
4   <service name='antivirus/clamav-milter' type='service' version='0'>
5     <single_instance/>
6     <dependency name='fs' grouping='require_all' restart_on='none' type='service'>
7       <service_fmri value='svc:/system/filesystem/local'/>
8     </dependency>
9     <dependency name='network' grouping='require_all' restart_on='none' type='service'>
10       <service_fmri value='svc:/milestone/multi-user-server'/>
11     </dependency>
12     <instance name='default' enabled='false'>
13       <exec_method type='method'
14                    name='start'
15                    exec='/usr/sbin/clamav-milter'
16                    timeout_seconds='240'>
17         <method_context>
18           <method_credential user='clamav' group='other' />
19         </method_context>
20       </exec_method>
21       <exec_method type='method'
22                    name='stop'
23                    exec=':kill'
24                    timeout_seconds='60'>
25         <method_context>
26           <method_credential user='clamav' group='other'/>
27         </method_context>
28       </exec_method>
29       <template>
30         <common_name>
31           <loctext xml:lang='C'>ClamAV Milter - Unix anti-virus scanner for e-mail relays</loctext>
32         </common_name>
33       </template>
34     </instance>
35   </service>
36 </service_bundle>