Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=Logstash
- Documentation=http://www.elastic.co ; https://aur.archlinux.org/packages/logstash/
- Requires=elasticsearch.service
- [Service]
- Environment=LS_HOME=/var/lib/logstash
- Environment=LS_HEAP_SIZE="500m"
- Environment=LS_CONF_DIR=/etc/logstash/conf.d
- Environment=LS_LOG_DIR=/var/log/logstash
- Environment=LS_SETTINGS_DIR=/etc/logstash
- User=logstash
- Group=logstash
- ExecStart=/usr/share/logstash/bin/logstash -f $LS_CONF_DIR --path.logs $LS_LOG_DIR --path.data $LS_HOME
- StandardOutput=null
- StandardError=journal
- SuccessExitStatus=143
- LimitNOFILE=65535
- TimeoutStopSec=20
- RemainAfterExit=false
- # Specifies the maximum number of bytes of memory that may be locked into RAM
- # Set to "infinity" if you use the 'bootstrap.mlockall: true' option
- # in elasticsearch.yml and 'MAX_LOCKED_MEMORY=unlimited' in /etc/default/elasticsearch
- #LimitMEMLOCK=infinity
- [Install]
- WantedBy=multi-user.target
Add Comment
Please, Sign In to add comment