45 lines
2.0 KiB
XML
45 lines
2.0 KiB
XML
<?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="@SMF_PREFIX@/cfengine" type="service" version="1">
|
|
<dependency name="network" grouping="require_all" restart_on="error" type="service">
|
|
<service_fmri value="svc:/milestone/network:default" />
|
|
</dependency>
|
|
<dependency name="filesystem" grouping="require_all" restart_on="error" type="service">
|
|
<service_fmri value="svc:/system/filesystem/local" />
|
|
</dependency>
|
|
<property_group name="startd" type="framework">
|
|
<propval name="duration" type="astring" value="contract" />
|
|
<propval name="ignore_error" type="astring" value="core,signal" />
|
|
</property_group>
|
|
<property_group name="application" type="application"></property_group>
|
|
<instance name='cfexecd' enabled='false'>
|
|
<exec_method type="method" name="start" exec="@PREFIX@/sbin/cf-execd" timeout_seconds="60" />
|
|
<exec_method type="method" name="stop" exec=":kill" timeout_seconds="60" />
|
|
<template>
|
|
<common_name>
|
|
<loctext xml:lang="C">CfEngine Execution Daemon</loctext>
|
|
</common_name>
|
|
</template>
|
|
</instance>
|
|
<instance name='cfmonitord' enabled='false'>
|
|
<exec_method type="method" name="start" exec="@PREFIX@/sbin/cf-monitord" timeout_seconds="60" />
|
|
<exec_method type="method" name="stop" exec=":kill" timeout_seconds="60" />
|
|
<template>
|
|
<common_name>
|
|
<loctext xml:lang="C">CfEngine Monitor Daemon</loctext>
|
|
</common_name>
|
|
</template>
|
|
</instance>
|
|
<instance name='cfserverd' enabled='false'>
|
|
<exec_method type="method" name="start" exec="@PREFIX@/sbin/cf-serverd" timeout_seconds="60" />
|
|
<exec_method type="method" name="stop" exec=":kill" timeout_seconds="60" />
|
|
<template>
|
|
<common_name>
|
|
<loctext xml:lang="C">CfEngine Server Daemon</loctext>
|
|
</common_name>
|
|
</template>
|
|
</instance>
|
|
</service>
|
|
</service_bundle>
|