Before you begin
All the following commands have to be executed with super-user privileges.
Procedure
-
Create the service file with the following command:
touch
/etc/systemd/system/Talend-CommandLine.service
-
Assign the relevant rights to the file you created:
chmod 664
/etc/systemd/system/Talend-CommandLine.service
-
Paste the following content in the file while adapting it to your
configuration:
[Unit]
Description=Talend CommandLine Service
After=network.target
[Service]
WorkingDirectory=<CommandLinePath>
ExecStart=/bin/bash commandline-linux_x86_64.sh start
Type=simple
[Install]
WantedBy=default.target
-
Reload the service daemon:
systemctl daemon-reload
-
Start the service:
systemctl start
Talend-CommandLine.service