Run Jira Edge Connector
Run JEC
On Linux
Use these commands to start, stop, and restart JEC respectively:
Example usage with environment variables:
or
Older RHEL based distributions (6.x.x and older)
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.
You can set environment variables(Env) and arguments(Args) via jecService<32|64>.json
as follows:
Use these commands to start, stop, and restart JEC version amd64:
Use these commands start, stop, and restart JEC version 386:
Run JEC with Docker
Clone the repository:
https://github.com/atlassian/jec.git
Run
docker build . -t jec
Since JEC uses configuration files to run, you need to provide volumes to Docker container so that the files are accessible from the container. You also need to provide environment variables explained in the article to the container.
An example command to run docker container:
The command runs the container with two environment variables and creates a volume between the “bar” folder in host machine and “jsm” folder in the container. Since you are using docker container to run JEC, you need to give the file paths according to the container, not to the host machine.
If you want to use the configuration from your repository, add your ssh_known_hosts file to image by using a volume. You may also need to set SSH_KNOWN_HOSTS environment variable to your ssh_know_hosts file path in the image. Following is an example command to run JEC using a configuration file from a repository. The command also creates additional volume to access the log files from the host machine.