2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
5 This file and its contents are supplied under the terms of the
6 Common Development and Distribution License ("CDDL"). You may
7 only use this file in accordance with the terms of the CDDL.
9 A full copy of the text of the CDDL should have accompanied this
10 source. A copy of the CDDL is also available via the Internet at
11 http://www.illumos.org/license/CDDL.
13 Copyright 2016 Adam Stevko
16 <service_bundle type="manifest" name="udpxy">
17 <service name="network/udpxy" type="service" version="1">
18 <create_default_instance enabled="false"/>
22 Wait for network interfaces to be initialized.
24 <dependency name="network" grouping="require_all" restart_on="none" type="service">
25 <service_fmri value="svc:/milestone/network:default"/>
29 Wait for all local filesystems to be mounted.
31 <dependency name="filesystem-local" grouping="require_all" restart_on="none" type="service">
32 <service_fmri value="svc:/system/filesystem/local:default"/>
37 <envvar name="PATH" value="/usr/bin:/usr/sbin"/>
44 exec="/usr/bin/udpxy -p %{config/port} -a %{config/listen_address} -m %{config/multicast_source_address} -c %{config/max_clients} %{config/additional_flags}"
47 <method_credential user='udpxy' group='udpxy' />
51 <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60"/>
53 <property_group name="config" type="application">
54 <propval name="port" type="astring" value="4022"/>
55 <propval name="listen_address" type="astring" value="0.0.0.0"/>
56 <propval name="multicast_source_address" type="astring" value="0.0.0.0"/>
57 <propval name="max_clients" type="astring" value="3"/>
58 <propval name="additional_flags" type="astring" value=""/>
59 <propval name="value_authorization" type="astring" value="solaris.smf.value.udpxy"/>
62 <property_group name="general" type="framework">
63 <propval name="action_authorization" type="astring" value="solaris.smf.manage.udpxy"/>
64 <propval name="value_authorization" type="astring" value="solaris.smf.manage.udpxy"/>
67 <property_group name="startd" type="framework">
68 <propval name="duration" type="astring" value="child"/>
69 <propval name="ignore_error" type="astring" value="core,signal"/>
72 <stability value="Unstable"/>
76 <loctext xml:lang="C">udpxy multicast-to-HTTP relay daemon</loctext>
79 <manpage title="udpxy" section="1"/>