Skip to content

Instantly share code, notes, and snippets.

@trentster
Created August 30, 2014 04:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trentster/9549b2dfb3ceab8d5778 to your computer and use it in GitHub Desktop.
Save trentster/9549b2dfb3ceab8d5778 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/freeswitch' type='service' version='0'>
<create_default_instance enabled='true'/>
<dependency name='dep0' grouping='require_all' restart_on='error' type='service'>
<service_fmri value='svc:/milestone/multi-user:default'/>
</dependency>
<exec_method name='start' type='method' exec='/usr/local/freeswitch/bin/freeswitch -nc -nonat' timeout_seconds='20'>
<method_context>
<method_credential user='www' group='www'/>
</method_context>
</exec_method>
<exec_method name='stop' type='method' exec='/usr/local/freeswitch/bin/freeswitch -stop' timeout_seconds='70'/>
<template>
<common_name>
<loctext xml:lang='C'>FreeSwitch</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