libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / network / freeradius / files / radius.xml
blob6bf313dc14b3f0a91f201b42e5ad0610dacbc3cc
1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <!--
4         CDDL HEADER START
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.
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.
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]
21         CDDL HEADER END
23         Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24         Use is subject to license terms.
26         Copyright 2024 Friedrich Kink
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 -->
34 <service_bundle type='manifest' name='radius'>
36 <service
37         name='network/radius'
38         type='service'
39         version='1'>
41         <create_default_instance enabled='false' />
43         <single_instance />
45         <dependency name='fs-local'
46                 grouping='require_all'
47                 restart_on='none'
48                 type='service'>
49                 <service_fmri
50                         value='svc:/system/filesystem/local' />
51         </dependency>
53         <dependency name='fs-autofs'
54                 grouping='optional_all'
55                 restart_on='none'
56                 type='service'>
57                 <service_fmri value='svc:/system/filesystem/autofs' />
58         </dependency>
60         <dependency name='net-loopback'
61                 grouping='require_all'
62                 restart_on='none'
63                 type='service'>
64                 <service_fmri value='svc:/network/loopback' />
65         </dependency>
67         <dependency name='net-physical'
68                 grouping='require_all'
69                 restart_on='none'
70                 type='service'>
71                 <service_fmri value='svc:/network/physical' />
72         </dependency>
74         <dependency name='cryptosvc'
75                 grouping='require_all'
76                 restart_on='none'
77                 type='service'>
78                 <service_fmri value='svc:/system/cryptosvc' />
79         </dependency>
81         <dependency name='utmp'
82                 grouping='require_all'
83                 restart_on='none'
84                 type='service'>
85                 <service_fmri value='svc:/system/utmp' />
86         </dependency>
88         <dependency name='config_data'
89                 grouping='require_all'
90                 restart_on='restart'
91                 type='path'>
92                 <service_fmri
93                     value='file://localhost/etc/raddb/radiusd.conf' />
94         </dependency>
96         <dependent
97                 name='radiusd_multi-user-server'
98                 grouping='optional_all'
99                 restart_on='none'>
100                         <service_fmri
101                             value='svc:/milestone/multi-user-server' />
102         </dependent>
104         <method_context>
105             <method_environment>
106                 <envvar name="PATH" value="/usr/bin:/usr/sbin"/>
107             </method_environment>
108         </method_context>
110         <exec_method
111                 type='method'
112                 name='start'
113                 exec='/usr/sbin/radiusd'
114                 timeout_seconds='60'>
115                 <method_context security_flags="aslr"/>
116         </exec_method>
118         <exec_method
119                 type='method'
120                 name='stop'
121                 exec=':kill'
122                 timeout_seconds='60' />
124         <exec_method
125                 type='method'
126                 name='refresh'
127                 exec=':kill -HUP'
128                 timeout_seconds='60' />
130         <property_group name='startd'
131                 type='framework'>
132                 <!-- sub-process core dumps shouldn't restart session -->
133                 <propval name='ignore_error'
134                     type='astring' value='core,signal' />
135         </property_group>
137         <stability value='Unstable' />
139         <template>
140                 <common_name>
141                         <loctext xml:lang='C'>
142                             The FreeRADIUS server
143                         </loctext>
144                 </common_name>
145                 <documentation>
146                         <manpage title='radiusd' section='1M' manpath='/usr/share/man' />
147                 </documentation>
148         </template>
150 </service>
152 </service_bundle>