Details
-
Feature
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Linux
Description
Desired Behavior
The installer of the JobScheduler Master for Linux stores a systemd file <jobschedulerId>.service in the SCHEDULER_HOME/install directory.
JobScheduler Master can be installed as a daemon with the following steps that require root permissions:
- copy SCHEDULER_HOME/install/<jobschedulerId>.service to /usr/lib/systemd/system/<jobschedulerId>.service
- call
systemctl daemon-reload
- automated start-up is configured with
systemctl enable <jobschedulerId>
The Unix tarball of the JobScheduler Agent contains the systemd example file ./jobscheduler_agent/bin/jobscheduler_agent.service-example.
JobScheduler Agent can be installed as a daemon with the following steps that require root permissions:
- ./jobscheduler_agent/bin/jobscheduler_agent.service-example
is a template that has to be customized.
It contains fields of the form <...> such as- <INSTALL_PATH>
- <SCHEDULER_HTTP_PORT>
- <SCHEDULER_PID_FILE_DIR>
- <SCHEDULER_USER>
where - <SCHEDULER_HTTP_PORT>
- <SCHEDULER_PID_FILE_DIR>
- <SCHEDULER_USER>
has to be the same value as the specified environment variables - $SCHEDULER_HTTP_PORT
- $SCHEDULER_PID_FILE_DIR
- $SCHEDULER_USER
in the instance script of the Agent.
- copy ./jobscheduler_agent/bin/jobscheduler_agent.service-example to /usr/lib/systemd/system/jobscheduler_agent_<SCHEDULER_HTTP_PORT>.service
- call
systemctl daemon-reload
- automated start-up is configured with
systemctl enable jobscheduler_agent_<SCHEDULER_HTTP_PORT>