rust/cargo-c: update to 0.10.9+cargo-0.85.0
[oi-userland.git] / components / sysutils / bacula / files / bacula-sd.xml
blob9a5827ef8796c10061eb38d1c693581938e02d28
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
4 <service_bundle type='manifest' name='bacula-sd'>
5 <service
6         name='application/bacula/bacula-sd'
7         type='service'
8         version='1'>
10         <instance name='default' enabled='false'>
11         <dependency
12                 name='network'
13                 grouping='require_all'
14                 restart_on='none'
15                 type='service'>
16                 <service_fmri value='svc:/milestone/network:default' />
17         </dependency>
19         <dependency
20                 name='filesystem-local'
21                 grouping='require_all'
22                 restart_on='none'
23                 type='service'>
24                 <service_fmri value='svc:/system/filesystem/local:default' />
25         </dependency>
27          <exec_method
28                 type='method'
29                 name='start'
30                 exec='/usr/sbin/bacula-sd -c %{config} '
31                 timeout_seconds='60'>
32                 <method_context>
33                         <method_credential user='bacula' group='bacula'/>
34                 </method_context>
35          </exec_method>
37         <exec_method
38                 type='method'
39                 name='stop'
40                 exec=':kill'
41                 timeout_seconds='60' />
43         <property_group name='startd' type='framework'>
44             <propval name='ignore_error' type='astring'  value='core,signal' />
45         </property_group>
46         <property_group name='general' type='framework'>
47              <propval name='action_authorization' type='astring' value='solaris.smf.manage.bacula' />
48              <propval name='value_authorization' type='astring' value='solaris.smf.value.bacula' />
49         </property_group>
50         <property_group name='application' type='application'>
51           <propval name='config' type='astring' value='/etc/bacula/bacula-sd.conf'/>
52         </property_group>
53         </instance>
55         <stability value='Evolving' />
57         <template>
58            <common_name>
59                <loctext xml:lang='C'>
60                      Bacula storage daemon
61                </loctext>
62             </common_name>
63             <documentation>
64              <manpage title='bacula-sd' section='8' manpath='/usr/share/man' />
65              <doc_link name='bacula' uri='https://www.bacula.org/11.0.x-manuals/en/main/index.html' />
66             </documentation>
67         </template>
69 </service>
70 </service_bundle>