Versions Compared

Key

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

...

Code Block
languagetext
titleUsage for Windows
Usage: agent.cmd command [options]
  command:
    start           [options]
    start-container [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 -Dlog4j2Dfile.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -Dlog4j2.asyncLoggerWaitStrategy=Blockencoding=UTF-8; see https://kb.sos-berlin.com/x/aIC9 

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

...

  • The Agent waits for running processes of any jobs to be completed.
  • Using the --sigkill command line option in a Unix environment will terminate the Agent normally and will kill any running processes.
  • Using the --timeout command line option will terminate the Agent and will kill any running processes when the number of seconds specified for the timeout is exceeded.


Code Block
languagebash
agent_4445.sh|.cmd abort [options]

...