File logstash.service of Package logstash

#
# logstash systemd service
#

[Unit]
Description=Logstash
Documentation=https://www.elastic.co/guide
After=network.target

[Service]
Type=simple
EnvironmentFile=/etc/sysconfig/logstash
User=logstash
Group=logstash
Nice=19
LimitNOFILE=16384
StandardError=journal
ExecStart=/opt/logstash/bin/logstash agent -f ${LS_CONF_DIR} -l ${LS_LOG_FILE} ${LS_OPTS}

[Install]
WantedBy=multi-user.target