Fixed a bug in the nginx log

Discussion in '3CX Phone System - General' started by grolop, Nov 30, 2017.

Tags:
Thread Status:
Not open for further replies.
  1. grolop

    Joined:
    Nov 30, 2017
    Messages:
    1
    Likes Received:
    0
    2017/11/21 00:09:50 [error] 6672#4672: CreateFile() "C:\Program Files\3CX Phone System\Bin\nginx/logs/nginx.pid" failed (2: The system cannot find the file specified)

    Here is the fixed configuration for the service
    <service>
    <id>nginx</id>
    <name>3CX PhoneSystem Nginx Server</name>
    <description>3CX Phone System Nginx Webserver</description>
    <executable>"C:\Program Files\3CX Phone System\Bin\nginx\nginx.exe"</executable>
    <logpath>C:\ProgramData\3CX\Data\Logs</logpath>
    <logmode>roll</logmode>
    <depend/>
    <startargument>-p</startargument>
    <startargument>"C:\Program Files\3CX Phone System\Bin\nginx"</startargument>
    <stopexecutable>"C:\Program Files\3CX Phone System\Bin\nginx\nginx.exe"</stopexecutable>
    <stopargument>-s</stopargument>
    <stopargument>stop</stopargument>
    </service>
     
Thread Status:
Not open for further replies.