Skip to content

Instantly share code, notes, and snippets.

@aceqbaceq
Created February 27, 2017 17:56
Show Gist options
  • Save aceqbaceq/0ad03b06aefbdb6a61933629e56483aa to your computer and use it in GitHub Desktop.
Save aceqbaceq/0ad03b06aefbdb6a61933629e56483aa to your computer and use it in GitHub Desktop.
<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle type='manifest' name='export'>
<service name='application/zabbix-agent' type='service' version='0'>
<single_instance/>
<dependency name='fs-local' grouping='require_all' restart_on='none' type='service'>
<service_fmri value='svc:/system/filesystem/local'/>
</dependency>
<exec_method name='start' type='method' exec='/opt/csw/sbin/amd64/zabbix_agentd -c /etc/opt/csw/zabbix_agentd.conf' timeout_seconds='60'>
<method_context/>
</exec_method>
<exec_method name='stop' type='method' exec=':kill' timeout_seconds='60'>
<method_context/>
</exec_method>
<instance name='default' enabled='false'>
<property_group name='general' type='framework'>
<propval name='package' type='astring' value='ZABagent'/>
</property_group>
</instance>
<stability value='Unstable'/>
<template>
<common_name>
<loctext xml:lang='C'>Zabbix Agent</loctext>
</common_name>
</template>
</service>
</service_bundle>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment