2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
4 // This file and its contents are supplied under the terms of the
5 // Common Development and Distribution License ("CDDL)". You may
6 // only use this file in accordance with the terms of the CDDL.
8 // A full copy of the text of the CDDL should have accompanied this
9 // source. A copy of the CDDL is also available via the Internet at
10 // http://www.illumos.org/license/CDDL.
12 // Copyright (c) 2012, Adam 'xenol' Stevko <adam.stevko@gmail.com>
14 <service_bundle type='manifest' name='export'>
15 <service name='application/management/zabbix-proxy' type='service' version='0'>
16 <create_default_instance enabled='false'/>
18 <dependency name='fs' grouping='require_all' restart_on='none' type='service'>
19 <service_fmri value='svc:/system/filesystem/local'/>
21 <dependency name='net' grouping='require_all' restart_on='none' type='service'>
22 <service_fmri value='svc:/network/service'/>
24 <exec_method name='start' type='method' exec='/usr/sbin/zabbix_proxy' timeout_seconds='10'>
25 <method_context security_flags='aslr'>
26 <method_credential user='zabbix' group='zabbix' privileges='basic'/>
30 <exec_method name='stop' type='method' exec=':kill' timeout_seconds='60'/>