xref: /titanic_41/usr/src/cmd/fs.d/nfs/svc/nfslogd.xml (revision 4191ce11b7a4c9ac19d88acf17d30fd50a4464b0)
1*4191ce11SVitaliy Gusev<?xml version="1.0"?>
2*4191ce11SVitaliy Gusev<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3*4191ce11SVitaliy Gusev<!--
4*4191ce11SVitaliy Gusev  This file and its contents are supplied under the terms of the
5*4191ce11SVitaliy Gusev  Common Development and Distribution License ("CDDL"), version 1.0.
6*4191ce11SVitaliy Gusev  You may only use this file in accordance with the terms of version
7*4191ce11SVitaliy Gusev  1.0 of the CDDL.
8*4191ce11SVitaliy Gusev
9*4191ce11SVitaliy Gusev  A full copy of the text of the CDDL should have accompanied this
10*4191ce11SVitaliy Gusev  source.  A copy of the CDDL is also available via the Internet at
11*4191ce11SVitaliy Gusev  http://www.illumos.org/license/CDDL.
12*4191ce11SVitaliy Gusev
13*4191ce11SVitaliy Gusev
14*4191ce11SVitaliy Gusev  Copyright 2012 Nexenta Systems, Inc.  All rights reserved.
15*4191ce11SVitaliy Gusev-->
16*4191ce11SVitaliy Gusev
17*4191ce11SVitaliy Gusev<service_bundle type='manifest' name='SUNWnfssr:nfslogd'>
18*4191ce11SVitaliy Gusev
19*4191ce11SVitaliy Gusev<service
20*4191ce11SVitaliy Gusev	name='network/nfs/log'
21*4191ce11SVitaliy Gusev	type='service'
22*4191ce11SVitaliy Gusev	version='1'>
23*4191ce11SVitaliy Gusev
24*4191ce11SVitaliy Gusev	<dependency name='nfs-server'
25*4191ce11SVitaliy Gusev	    grouping='require_all'
26*4191ce11SVitaliy Gusev	    restart_on='refresh'
27*4191ce11SVitaliy Gusev	    type='service'>
28*4191ce11SVitaliy Gusev		<service_fmri value='svc:/network/nfs/server' />
29*4191ce11SVitaliy Gusev	</dependency>
30*4191ce11SVitaliy Gusev
31*4191ce11SVitaliy Gusev	<dependency name='filesystem-minimal'
32*4191ce11SVitaliy Gusev	    grouping='require_all'
33*4191ce11SVitaliy Gusev	    restart_on='error'
34*4191ce11SVitaliy Gusev	    type='service'>
35*4191ce11SVitaliy Gusev		<service_fmri value='svc:/system/filesystem/minimal' />
36*4191ce11SVitaliy Gusev	</dependency>
37*4191ce11SVitaliy Gusev
38*4191ce11SVitaliy Gusev	<exec_method
39*4191ce11SVitaliy Gusev	    type='method'
40*4191ce11SVitaliy Gusev	    name='start'
41*4191ce11SVitaliy Gusev	    exec='/usr/lib/nfs/nfslogd'
42*4191ce11SVitaliy Gusev	    timeout_seconds='60' />
43*4191ce11SVitaliy Gusev
44*4191ce11SVitaliy Gusev	<exec_method
45*4191ce11SVitaliy Gusev	    type='method'
46*4191ce11SVitaliy Gusev	    name='stop'
47*4191ce11SVitaliy Gusev	    exec=':kill -TERM'
48*4191ce11SVitaliy Gusev	    timeout_seconds='10' />
49*4191ce11SVitaliy Gusev
50*4191ce11SVitaliy Gusev	<instance name='default' enabled='false'>
51*4191ce11SVitaliy Gusev	</instance>
52*4191ce11SVitaliy Gusev
53*4191ce11SVitaliy Gusev	<stability value='Stable' />
54*4191ce11SVitaliy Gusev
55*4191ce11SVitaliy Gusev	<template>
56*4191ce11SVitaliy Gusev		<common_name>
57*4191ce11SVitaliy Gusev			<loctext xml:lang='C'>
58*4191ce11SVitaliy Gusev				NFS log daemon
59*4191ce11SVitaliy Gusev			</loctext>
60*4191ce11SVitaliy Gusev		</common_name>
61*4191ce11SVitaliy Gusev		<documentation>
62*4191ce11SVitaliy Gusev			<manpage title='nfslogd' section='1M'
63*4191ce11SVitaliy Gusev				manpath='/usr/share/man' />
64*4191ce11SVitaliy Gusev		</documentation>
65*4191ce11SVitaliy Gusev	</template>
66*4191ce11SVitaliy Gusev</service>
67*4191ce11SVitaliy Gusev
68*4191ce11SVitaliy Gusev</service_bundle>
69