Skip to content

Instantly share code, notes, and snippets.

@kylef kylef/irc-unreal.xml
Created Jan 11, 2010

Embed
What would you like to do?
This is a SMF script for OpenSolaris for UnrealIRCd
<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle type='manifest' name='unrealircd'>
<service
name='network/irc'
type='service'
version='1' >
<instance name='unreal' enabled='false'>
<dependency name='network'
grouping='require_all'
restart_on='error'
type='service'>
<service_fmri value='svc:/milestone/network:default'/>
</dependency>
<dependency name='filesystem-local'
grouping='require_all'
restart_on='none'
type='service'>
<service_fmri value='svc:/system/filesystem/local:default'/>
</dependency>
<exec_method
type='method'
name='start'
exec='/opt/local/src/Unreal3.2/unreal start'
timeout_seconds='60' />
<exec_method
type='method'
name='stop'
exec='/opt/local/src/Unreal3.2/unreal stop'
timeout_seconds='60' />
<property_group name='startd' type='framework'>
<propval name='ignore_error' type='astring' value='core,signal'/>
</property_group>
<template>
<common_name>
<loctext xml:lang="C">
UnrealIRCd
</loctext>
</common_name>
</template>
</instance>
<stability value='Evolving' />
</service>
</service_bundle>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.