summaryrefslogtreecommitdiffstats
path: root/scripts/solaris/radius.xml
blob: d9b05065df439fbdbe1f2242c4e427e1b30aa269 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM
"/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type='manifest' name='radius'>
<service
       name='network/radius'
       type='service'
       version='1'>
       <create_default_instance enabled='false' />
       <single_instance/>
  
       <dependency name='fs-local'
                grouping='require_all'
                restart_on='none'
                type='service'>
                <service_fmri value='svc:/system/filesystem/local' />
       </dependency>

       <dependency name='fs-autofs'
               grouping='optional_all'
               restart_on='none'
               type='service'>
               <service_fmri value='svc:/system/filesystem/autofs' />
       </dependency>

       <dependency name='net-loopback'
               grouping='require_all'
               restart_on='none'
               type='service'>
               <service_fmri value='svc:/network/loopback' />
       </dependency>

       <dependency name='net-physical'
               grouping='require_all'
               restart_on='none'
               type='service'>
               <service_fmri value='svc:/network/physical' />
       </dependency>

       <exec_method
               type='method'
               name='start'
               exec='/lib/svc/method/svc-radius %m'
               timeout_seconds='10' />
       <exec_method
               type='method'
               name='stop'
               exec='/lib/svc/method/svc-radius %m %{restarter/contract}'
               timeout_seconds='10' />
       <exec_method
               type='method'
               name='refresh'
               exec='/lib/svc/method/svc-radius %m'
               timeout_seconds='10' />

       <stability value='Unstable' />
       <template>
               <common_name>
                       <loctext xml:lang='C'> radius
                       </loctext>
               </common_name>
               <documentation>
                       <manpage title='radius' section='1M'
                               manpath='/usr/share/man' />
              </documentation>
       </template>
</service>
</service_bundle>