Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
titleUsage for Unix
Usage: agent.sh command [options]
  command:
    start           [options]
    start-container [options]
    start-docker    [options]
    stop            [options]
    abort           [options]
    restart         [options]
    status          [options]
    kill            [options]
    cert            [cert-options]                    | see https://kb.sos-berlin.com/x/jLbAAw
  options:
    --http-port=<[hostname or ip address:]number>     | default: 4445
    --https-port=<[hostname or ip address:]number>    | default:
    --data-directory=<location of data directory>     | default: /var/sos-berlin.com/js7/agent/var_4445
    --config-directory=<location of config directory> | default: /var/sos-berlin.com/js7/agent/var_4445/config
    --sigkill                                         | only for stop and restart; running tasks will be killed
    ---timeout=<timeout > 0, in seconds>sigkill-delay                         | only for stop; if timeout is reached then SIGKILL is| sent
running tasks are  --kill-script=<location of kill script>     terminated after crash using SIGTERM and SIGKILL with a delay
      | only for start
    --java-options=<java options>                                         | default: 3
    --timeout=<timeout > 0, in seconds>               | only for stop; if timeout is reached then SIGKILL is sent
    --kill-script=<location of kill script>           | only for start
    --java-options=<java options>                     | default: -Xms100m -Dfile.encoding=UTF-8; see https://kb.sos-berlin.com/x/aIC9
    -c | --curl                                       | use default:curl instead -Xms100m -Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -Dlog4j2.asyncLoggerWaitStrategy=Block; see https://kb.sos-berlin.com/x/aIC9of the Java http client

see https://kb.sos-berlin.com/x/fAmGAw for more information.

...

Code Block
languagetext
titleUsage for Windows
Usage: agent.cmd command [options]
  command:
    start           [options]
    start-container [options]
    start-docker    [options]
    stop            [options]
    abort           [options]
    restart         [options]
    status          [options]
    kill            [options]
    cert            [cert-options]                    | see https://kb.sos-berlin.com/x/jLbAAw
  options:
    --http-port=<[hostname or ip address:]number>     | default: 4445
    --https-port=<[hostname or ip address:]number>    | default:
    --data-directory=<location of data directory>     | default: /var/sos-berlin.com/js7/agent/var_4445
    --config-directory=<location of config directory> | default: /var/sos-berlin.com/js7/agent/var_4445/config
    --timeout=<timeout > 0, in seconds>               | only for stop; if timeout is reached then KILL is sent
    --kill-script=<location of kill script>           | only for start
    --java-options=<java options>                     | default:  -Xms100m -Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -Dlog4j2.asyncLoggerWaitStrategy=Block; see https://kb.sos-berlin.com/x/aIC9
see https://kb.sos-berlin.com/x/fAmGAw for more information.

...

It is recommended that an individual Instance Start Script is created from the template file as this allows to specify individual start-up parameters to specified using from environment variables.

Location

...