Skip to content

Commit

Permalink
fix nologin path
Browse files Browse the repository at this point in the history
  • Loading branch information
lowstz authored and jordansissel committed Jan 5, 2015
1 parent 188b6a2 commit 40665f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/debian/before-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ 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
-s /usr/sbin/nologin -c "LogStash Service User" logstash
fi
2 changes: 1 addition & 1 deletion pkg/ubuntu/before-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ 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
-s /usr/sbin/nologin -c "LogStash Service User" logstash
fi

0 comments on commit 40665f0

Please sign in to comment.