Talend Log Server - 6.1

Talend MDM Platform Installation Guide

EnrichVersion
6.1
EnrichProdName
Talend MDM Platform
task
Installation and Upgrade
EnrichPlatform
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend DQ Portal
Talend ESB
Talend Identity Management
Talend Installer
Talend JobServer
Talend Log Server
Talend MDM Server
Talend MDM Web UI
Talend Project Audit
Talend Repository Manager
Talend Runtime
Talend SAP RFC Server
Talend Studio

To create a service for Talend Log Server:

  1. Create a script from which Talend Log Server can be run in the directory /etc/init.d/tlogserver, like the following:

    #!/bin/sh
    #
    # tlogserver: this script starts and stops the monolithic jar
    #
    # chkconfig: - 85 15
    # description: logstash is an open source log management system.
    # processname: tlogstash
    # config: %%%LOGSERV_CONFIG%%%
    # binary: %%%LOGSERV_JAR%%%
    prog=tlogserver
    PATH=%%%INSTALLDIR%%%/logserv:/sbin:/bin:/usr/sbin:/usr/bin
    NAME=tlogserver
     
    test -x $DAEMON || exit 0
     
    set -e
     
    start() {
            echo -n $"Starting $prog: "
            %%%INSTALLDIR%%%/logserv/start_logserver.sh
    }
     
    stop() {
            echo -n $"Stopping $prog: "
            %%%INSTALLDIR%%%/logserv/stop_logserver.sh
    }
     
     
    case "$1" in
      start)
            start
            ;;
      stop)
            stop
            ;;
      restart)
            stop
            start
            ;;
          *)
                N=/etc/init.d/$NAME
                echo "Usage: $N {start|stop|restart}" >&2
                exit 1
                ;;
        esac
     
        exit 0
    
    

  2. Ensure that the file above is executable. To do this, you can execute the commands below in the /etc/init.d/tlogserver directory:

    # chmod +x /etc/init.d/tlogserver

  3. Execute the following command to activate the startup script:

    # update-rc.d tlogserver defaults 60