Difference between revisions of "Services"

From FusionPBX
Jump to: navigation, search
(Created page with "Allows interaction with the processes running on your server. Does NOT works on WINDOWS!!! Ex: FreeSWITCH Service Config: ---- '''NAME:''' FreeSWITCH <br/> '''TYPE:''' pid file ...")
 
Line 2: Line 2:
 
Does NOT works on WINDOWS!!!
 
Does NOT works on WINDOWS!!!
  
Ex: FreeSWITCH Service Config:
+
Example Service Configurations follow:
 
----
 
----
 +
 +
== General FreeSWITCH Example ==
 +
 
'''NAME:''' FreeSWITCH <br/>
 
'''NAME:''' FreeSWITCH <br/>
 
'''TYPE:''' pid file <br/>
 
'''TYPE:''' pid file <br/>
Line 9: Line 12:
 
'''START COMMAND:''' /usr/local/freeswitch/bin/freeswitch -nonat -nc <br/>
 
'''START COMMAND:''' /usr/local/freeswitch/bin/freeswitch -nonat -nc <br/>
 
'''STOP COMMAND:''' /usr/local/freeswitch/bin/freeswitch -stop <br/>
 
'''STOP COMMAND:''' /usr/local/freeswitch/bin/freeswitch -stop <br/>
 +
'''DESCRIPTION:''' FreeSWITCH service example.
 +
 +
== FreeBSD FreeSWITCH Example ==
 +
 +
'''NAME:''' FreeSWITCH <br/>
 +
'''TYPE:''' pid file <br/>
 +
'''DATA:''' /usr/local/freeswitch/run/freeswitch.pid <br/>
 +
'''START COMMAND:''' /usr/local/etc/rc.d/freeswitch start <br/>
 +
'''STOP COMMAND:''' /usr/local/etc/rc.d/freeswitch stop <br/>
 
'''DESCRIPTION:''' FreeSWITCH service example.
 
'''DESCRIPTION:''' FreeSWITCH service example.

Revision as of 14:44, 18 October 2010

Allows interaction with the processes running on your server. Does NOT works on WINDOWS!!!

Example Service Configurations follow:


General FreeSWITCH Example

NAME: FreeSWITCH
TYPE: pid file
DATA: /usr/local/freeswitch/run/freeswitch.pid
START COMMAND: /usr/local/freeswitch/bin/freeswitch -nonat -nc
STOP COMMAND: /usr/local/freeswitch/bin/freeswitch -stop
DESCRIPTION: FreeSWITCH service example.

FreeBSD FreeSWITCH Example

NAME: FreeSWITCH
TYPE: pid file
DATA: /usr/local/freeswitch/run/freeswitch.pid
START COMMAND: /usr/local/etc/rc.d/freeswitch start
STOP COMMAND: /usr/local/etc/rc.d/freeswitch stop
DESCRIPTION: FreeSWITCH service example.