Skip to main content Skip to complementary content

Installing Talend CommandLine as a service on Ubuntu

Procedure

  1. Go to the /usr/bin directory.
  2. Create a commandline_start file containing the following:
    #!/bin/sh
    cd <CommandLinePath>
    nohup sh commandline-linux.sh&
    Information noteWarning: The <CommandLinePath> path should be absolute.
  3. Create a commandline_stop file containing the following:
    #!/bin/sh
    (echo stopServer ; sleep 2) | telnet localhost 8002
  4. Ensure that the two files above are executable. To do this, you can execute the two commands below in the /usr/bin directory:
    chmod +x /usr/bin/commandline_start
    chmod +x /usr/bin/commandline_stop
  5. Paste the <CommandLinePath> /addons/scripts/talend_commandline file into the /etc/init.d directory in order to create the service related to the two executables above.
  6. Make the file executable using:
    chmod +x /etc/init.d/talend_commandline_commandline
  7. Execute the following command:
    update-rc.d talend_commandline_commandline defaults 60

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!