Starting and Stopping the Gateway

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 subdirectory of your installation directory:
.\Tools\Python\python.exe .\Gateway\main.pyc .\conf\gateway.toml

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

.\Tools\Python\pythonw.exe .\Gateway\main.pyc .\conf\gateway.toml

If you start this task using the pythonw.exe command, you can stop it only from the Windows Task Manager.

UNIX:

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

  • acutoweb-gateway -start
  • acutoweb-gateway -start -c /path/to/mygateway.toml
    Note: If this option is not specified, the default gateway.toml 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 start-gateway script (no commands available).

Note: The default gateway.toml is used. The configuration file used in the script can be replaced with a different path.