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

Talend Installation Guide for Linux

Version
8.0
Language
English (United States)
EnrichDitaval
Linux
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend ESB
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend LogServer
Talend MDM Server
Talend MDM Web UI
Talend Runtime
Talend SAP RFC Server
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