Starting and Stopping a Gateway Service

Windows:

  1. On the Gateway Services tab of the AcuToWeb control panel, select the required service, then do one of the following:
    • If the service is currently stopped, click Start.
    • If the service is currently started, click Stop.

    A confirmation box appears.

  2. Click Yes to confirm.

    The service is either started or stopped.

Note:

To start the Gateway from a command prompt, run the following command from the AcuToWeb sub-directory of your installation directory:

.\Tools\Python\python.exe -OO .\Gateway\main.py .\conf\gateway.conf

However, this requires that your command prompt window must remain open whilst you require the gateway. An alternative command that does not require you to keep the window open is:

.\Tools\Python\pythonw.exe -OO .\Gateway\main.py .\conf\gateway.conf

If you use this command, you must use the Services dialog box on the Windows Control Panel to stop the gateway.

UNIX:

On UNIX/Linux platforms, there is an executable called acutoweb-gateway. This supports the following commands:

  • acutoweb-gateway -start
  • acutoweb-gateway -c /path/to/mygateway.conf
    Note: If this option is not specified, the default gateway.conf is used, which is located in the acutoweb directory of your product installation directory.
  • acutoweb-gateway -kill
  • acutoweb-gateway -info

From a shell prompt, and in the directory that you installed AcuToWeb, use the following command:

./Python2.7/python -OO ./Gateway/main.py gateway.conf