Installing Talend JobServer as a service on RedHat/CentOS 7 Systems - 8.0

Talend Big Data Installation Guide for Linux

Version
8.0
Language
English (United States)
EnrichDitaval
Big Data for Linux
Product
Talend Big Data
Module
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend Runtime
Talend Studio
Content
Installation and Upgrade

Before you begin

All the following commands have to be executed with super-user privileges.

Procedure

  1. Create the service file with the following command:
    touch /etc/systemd/system/Talend-JobServer.service
  2. Assign the relevant rights to the file you created:
    chmod 664 /etc/systemd/system/Talend-JobServer.service
  3. Paste the following content in the file while adapting it to your configuration:
    [Unit]
    Description=Talend Execution Server (JobServer) service
    After=network.target
    
    [Service]
    Type=forking
    Environment=JAVA_HOME=/opt/jdk1.8.0_201/jre
    Environment=PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/jdk1.8.0_201/jre/bin
    ExecStart=/opt/Talend-7x1/jobserver/start_jobserver.sh
    ExecStop=/opt/Talend-7x1/jobserver/stop_jobserver.sh
    User=talenduser
    Group=talendgroup
    Restart=on-abort
    
    [Install]
    WantedBy=multi-user.target
  4. Reload the service daemon:
    systemctl daemon-reload
  5. Start the service:
    systemctl start Talend-JobServer.service