Difference between revisions of "Services"

From FusionPBX
Jump to: navigation, search
Line 1: Line 1:
 
Allows interaction with the processes running on your server.
 
Allows interaction with the processes running on your server.
 
Does NOT works on WINDOWS!!!
 
Does NOT works on WINDOWS!!!
 +
  
 
Example Service Configurations follow:
 
Example Service Configurations follow:
 
----
 
----
 +
  
 
== General FreeSWITCH Example ==
 
== General FreeSWITCH Example ==
  
'''NAME:''' FreeSWITCH <br/>
+
'''Name:''' FreeSWITCH <br/>
'''TYPE:''' pid file <br/>
+
'''Type:''' pid file <br/>
'''DATA:''' /usr/local/freeswitch/run/freeswitch.pid <br/>
+
'''Data:''' /usr/local/freeswitch/run/freeswitch.pid <br/>
'''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.
+
'''Description:''' FreeSWITCH service example.
 +
 
  
 
== FreeBSD FreeSWITCH Example ==
 
== FreeBSD FreeSWITCH Example ==
  
'''NAME:''' FreeSWITCH <br/>
+
'''Name:''' FreeSWITCH <br/>
'''TYPE:''' pid file <br/>
+
'''Type:''' pid file <br/>
'''DATA:''' /usr/local/freeswitch/run/freeswitch.pid <br/>
+
'''Data:''' /usr/local/freeswitch/run/freeswitch.pid <br/>
'''START COMMAND:''' /usr/local/etc/rc.d/freeswitch start <br/>
+
'''Start Command:''' /usr/local/etc/rc.d/freeswitch start <br/>
'''STOP COMMAND:''' /usr/local/etc/rc.d/freeswitch stop <br/>
+
'''Stop Command:''' /usr/local/etc/rc.d/freeswitch stop <br/>
'''DESCRIPTION:''' FreeSWITCH service example.
+
'''Description:''' FreeSWITCH service example.

Revision as of 14:45, 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.