Created
January 11, 2010 15:18
-
-
Save kylef/274307 to your computer and use it in GitHub Desktop.
This is a SMF script for OpenSolaris for UnrealIRCd
This file contains 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='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