aboutsummaryrefslogtreecommitdiffstats
path: root/testing/logstash/logstash.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/logstash/logstash.pre-install')
-rw-r--r--testing/logstash/logstash.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/logstash/logstash.pre-install b/testing/logstash/logstash.pre-install
new file mode 100644
index 0000000000..056badb59d
--- /dev/null
+++ b/testing/logstash/logstash.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+adduser -h /usr/share/logstash -s /sbin/nologin -S -D -H -g "Logstash User" \
+ -G daemon logstash 2>/dev/null
+
+exit 0