1 2 3 4 5 6
#!/bin/sh addgroup -S logstash 2>/dev/null adduser -S -D -H -h /usr/share/logstash -s /sbin/nologin -G logstash -g logstash logstash 2>/dev/null exit 0