Last active
August 29, 2015 14:04
-
-
Save drscream/0f02613bb65edfa0d480 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> | |
<service_bundle type="manifest" name="w0nko"> | |
<service name="network/w0nko" type="service" version="1"> | |
<single_instance /> | |
<dependency name="network" grouping="require_all" restart_on="none" 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> | |
<instance name="default" enabled="false"> | |
<method_context working_directory='/tmp'> | |
<method_credential user='ircd' group='ircd'/> | |
<method_environment> | |
<envvar name='PATH' value='/opt/local/bin:/opt/local/sbin:/usr/bin:/usr/sbin:/bin'/> | |
</method_environment> | |
</method_context> | |
<exec_method type="method" name="start" exec="/opt/local/sbin/ircd -n" timeout_seconds="10" /> | |
<exec_method type="method" name="refresh" exec=":kill -HUP" timeout_seconds="10" /> | |
<exec_method type="method" name="stop" exec=":kill" timeout_seconds="10" /> | |
<property_group name="startd" type="framework"> | |
<propval name="duration" type="astring" value="child"/> | |
<propval name="ignore_error" type="astring" value="core,signal"/> | |
</property_group> | |
</instance> | |
<stability value="Evolving"/> | |
<template> | |
<common_name> | |
<loctext xml:lang="C">w0nko IRC daemon</loctext> | |
</common_name> | |
<documentation> | |
<doc_link name="w0nko IRC daemon" uri="https://github.com/wiedi/w0nko"/> | |
</documentation> | |
</template> | |
</service> | |
</service_bundle> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment