Difference between revisions of "Services"

From FusionPBX
Jump to: navigation, search
m
m
Line 25: Line 25:
 
'''Description:''' FreeSWITCH service example.
 
'''Description:''' FreeSWITCH service example.
  
Note that if you know that the service is running but the services page tells you it is not, check that the permissions on the pid file allow your web server process to see the file.
+
|-------------|-----------------------------|---------------|----------|
 +
|  Name      |    Description              |  Status      |  Action  |
 +
|-------------|-----------------------------|---------------|----------|
 +
<u>| FreeSWITCH  | FreeSWITCH service example. |  Stopped      |  Start  |</u>
 +
 
 +
* Note that if you know that the service is running but the services page tells you it is not, check that the permissions on the pid file allow your web server process to see the file.

Revision as of 18:09, 26 October 2010

Allows interaction with the processes running on your server.

Does NOT works in 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.

|-------------|-----------------------------|---------------|----------|
|  Name       |    Description              |   Status      |  Action  |
|-------------|-----------------------------|---------------|----------| 	
| FreeSWITCH  | FreeSWITCH service example. |  Stopped      |  Start   |
  • Note that if you know that the service is running but the services page tells you it is not, check that the permissions on the pid file allow your web server process to see the file.