cocolicserver – license server

cocolicserver can be used to serve Coco licenses from a central computer. Clients can connect to the server, and cocolicserver will make sure that no more than the available number of licenses will be used concurrently.

Syntax

cocolicserver <options>

Options

  • -s | --server-identifier: Print the identifier of the machine on which cocolicserver should run. This identifier must then be sent to froglogic to get a license file (see Installation of a license server).
  • -c <path> | --config=<path>: Absolute path to the configuration file (provided by froglogic).
  • -l <path> | --logfile=<path>: Write log messages to the file at the absolute <path>. The file name may contain the following escape sequences:
    • %Y: current year, in four digits
    • %M: current month number, in two digits
    • %D: current day, in two digits
    • %h: current hour, in two digits
    • %m: current minute, in two digits
    • %s: current second, in two digits

    New log files will be opened according to the values of the escape sequences. This means that if <path> is cocoserver_%Y_%M_%D.log, every day a new log file is created, and the files have names like cocoserver_2016_01_01.log, cocoserver_2016_01_02.log, etc.

  • @ <path>: Read command line options from the file at <path> and insert them at the position of this option. The option file is a text file with one option per line. Leading and trailing blanks and empty lines are ignored.

The following options are available only on Linux™and macOS:

  • --syslog: Write log messages to the UNIX® system logging service.
  • --daemon: On Linux™and macOS: launch cocolicserver as a daemon background process.

The following options are available only on Microsoft® Windows:

  • --service-install: Install cocolicserver as a Windows service that starts automatically at boot time.

    For this option cocolicserver needs administrator privileges. It must be run in the form:

    C:\somedir cocolicserver --service-install <options>

    Then the service is installed and starts automatically. It will run as if called directly in the form cocolicserver <options>. The visible name of the server is \COCO License Server.

    If the server is already installed as a service, the <options> are updated. The new options have effect only after the service is restarted.

  • --service-uninstall: Uninstalls the cocolicserver Windows service. For this option cocolicserver needs administrator privileges.

Coco v7.2.1 ©2024 The Qt Company Ltd.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.