xref: /illumos-gate/usr/src/cmd/varpd/varpd.xml (revision 311330e6823a3a919ff127757c2f0cf9eb17aa0e)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4This file and its contents are supplied under the terms of the
5Common Development and Distribution License ("CDDL"), version 1.0.
6You may only use this file in accordance with the terms of version
71.0 of the CDDL.
8
9A full copy of the text of the CDDL should have accompanied this
10source.  A copy of the CDDL is also available via the Internet at
11http://www.illumos.org/license/CDDL.
12
13Copyright 2018, Joyent, Inc.
14-->
15
16<service_bundle type="manifest" name="illumos:varpd" >
17
18	<service name="network/varpd" type="service" version="1" >
19
20		<create_default_instance enabled="true" />
21
22		<single_instance/>
23
24		<dependency name="varpd-network-physical"
25			grouping="require_all"
26			restart_on="none"
27			type="service">
28			<service_fmri value="svc:/network/physical:default" />
29		</dependency>
30
31		<dependency name="varpd-device-local"
32			grouping="require_all"
33			restart_on="none"
34			type="service">
35			<service_fmri value="svc:/system/device/local:default" />
36		</dependency>
37
38		<exec_method
39			type="method"
40			name="start"
41			exec="/usr/lib/varpd/varpd"
42			timeout_seconds="60" />
43
44		<exec_method
45			type="method"
46			name="stop"
47			exec=":kill"
48			timeout_seconds="10" />
49
50		<property_group name='varpd' type='application'>
51			<property name='include_path' type='astring'>
52				<astring_list>
53					<value_node value='/usr/lib/varpd'/>
54				</astring_list>
55			</property>
56		</property_group>
57
58		<stability value='Unstable' />
59
60		<template>
61			<common_name>
62				<loctext xml:lang="C">virtual ARP daemon
63				</loctext>
64			</common_name>
65		</template>
66	</service>
67</service_bundle>
68