pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / encumbered / minidlna / files / minidlna.xml
blob031e47dc2baa598b19cc37829a5fa8dc9e250850
1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <!--
4  Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
5  Copyright (c) 2020 Alexander Pyhalov
7  CDDL HEADER START
9  The contents of this file are subject to the terms of the
10  Common Development and Distribution License (the "License").
11  You may not use this file except in compliance with the License.
13  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14  or http://www.opensolaris.org/os/licensing.
15  See the License for the specific language governing permissions
16  and limitations under the License.
18  When distributing Covered Code, include this CDDL HEADER in each
19  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20  If applicable, add the following below this CDDL HEADER, with the
21  fields enclosed by brackets "[]" replaced with your own identifying
22  information: Portions Copyright [yyyy] [name of copyright owner]
24  CDDL HEADER END
26     NOTE:  This service manifest is not editable; its contents will
27     be overwritten by package or patch operations, including
28     operating system upgrade.  Make customizations in a different
29     file.
30 -->
32 <service_bundle type='manifest' name='minidlna' >
33 <service name='application/minidlna' type='service' version='1' >
34    <create_default_instance enabled='false' />
36    <dependency
37       name='network'
38       grouping='require_all'
39       restart_on='none'
40       type='service'>
41       <service_fmri value='svc:/milestone/network:default' />
42    </dependency>
44    <dependency
45       name="filesystem-local"
46       grouping="require_all"
47       restart_on="none"
48       type="service">
49       <service_fmri value="svc:/system/filesystem/local:default"/>
50    </dependency>
52    <dependency
53        name='config-file'
54        grouping='require_all'
55        restart_on='refresh'
56        type='path'>
57             <service_fmri value='file://localhost/etc/minidlna.conf' />
58    </dependency>
60    <exec_method 
61       type='method' 
62       name='start'
63       exec='/lib/svc/method/minidlna start'
64       timeout_seconds='-1'>
65       <method_context security_flags="aslr"/>
66    </exec_method>
68    <exec_method 
69       type='method' 
70       name='stop'
71       exec=':kill'
72       timeout_seconds='60' />
74     <property_group name='minidlna' type='application'>
75        <propval name='options' type='astring' value='-R -f /etc/minidlna.conf' />
76     </property_group>
78     <stability value='Evolving' />
80     <template>
81       <common_name>
82          <loctext xml:lang='C'>minidlna</loctext>
83       </common_name>
84     </template>
86 </service>
87 </service_bundle>