Sha256: 27e26a9f053c30454f3940e79df4c1d2c2d304712298d62d0784cde5f235e9ff

Contents?: true

Size: 286 Bytes

Versions: 1

Compression:

Stored size: 286 Bytes

Contents

#!/bin/sh

# create logstash group
if ! getent group logstash >/dev/null; then
  groupadd -r logstash
fi

# create logstash user
if ! getent passwd logstash >/dev/null; then
  useradd -M -r -g logstash -d /var/lib/logstash \
    -s /sbin/nologin -c "LogStash Service User" logstash
fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logstash-lib-1.3.2 pkg/debian/before-install.sh