1 2 3 4 5 6 7 8
.include /usr/lib/systemd/system/logstash.service [Unit] Description=Logstash Agent (%I) [Service] Environment=LOGSTASH_CONF=/etc/logstash/%I.conf