Before you begin
All the following commands must be executed with super-user privileges.
Procedure
-
Create the service file with the following command:
touch /etc/systemd/system/Talend-LogServer.service
-
Assign the relevant rights to the file you created:
chmod 664 /etc/systemd/system/Talend-LogServer.service
-
Paste the following content in the file while adapting it to your
configuration:
[Unit]
Description=Talend Log Server Service
After=network.target
[Service]
WorkingDirectory=<LogServerPath>
ExecStart=/bin/bash start_logserver.sh
ExecStop=/bin/bash stop_logserver.sh
Type=forking
[Install]
WantedBy=default.target
-
Reload the service daemon:
systemctl daemon-reload
-
Start the service:
systemctl start Talend-LogServer.service
Results
Filebeat is automatically installed and started as a service, only if you selected the
option to use LogServer when installing a
Talend
module that provides this option, such as
Talend Administration Center or
Talend Data Stewardship. The following image is an example of this option: