Versions Compared

Key

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

...

Table of Contents
minLevel1
maxLevel3
outlinefalse
typelist
printablefalse

Run JEC

On Linux

Use these commands to start, stop, and restart JEC respectively:

...

Expand
titleShell
Code Block
sudo systemctl set-environment JEC_CONF_SOURCE_TYPE=local 
sudo systemctl set-environment JEC_CONF_LOCAL_FILEPATH=~/jec/conf/jec-config.json
sudo systemctl start jec

Older RHEL based distributions (6.x.x and older)

Expand
titleShell
Code Block
sudo service jec start
sudo service jec stop
sudo service jec restart

# Environment variables can be put in bash configuration files

On Windows

SIGINT and SIGTERM signals are used to stop JEC. You can’t stop/restart JEC via native methods of Windows while using JEC as a service. It is provided as a helper executable to run JEC as a service.

...