Skip to content

Instantly share code, notes, and snippets.

View jose-d's full-sized avatar
🐈

jose_d jose-d

🐈
  • Institute of Physics | Czech Academy of Sciences
  • Prague | EU
View GitHub Profile
@jose-d
jose-d / logstash init script
Last active January 9, 2017 17:38 — forked from piavlo/adduser
logstash init script for centos 5/6 requires daemonize binary and unpacked monolitic jar under /opt/logstash
#!/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
DESC="Logstash Daemon"
LOGSTASH_USER=logstash
DAEMON=/usr/bin/java
CONFIG_DIR="/etc/logstash"