forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* RPM: Use the ES_USER variable to set the user (same name as in the debian package now), while retaining backwards compatibility to existing /etc/sysconfig/elasticsearch * RPM: Bugfix: Remove the user when uninstalling the package * RPM: Set an existing homedir when adding the user (allows one to run cronjobs as this user) * DEB & RPM: Unify Required-Start/Required-Stop fields in initscripts
- Loading branch information
Showing
5 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
getent group elasticsearch >/dev/null || groupadd -r elasticsearch | ||
getent passwd elasticsearch >/dev/null || \ | ||
useradd -r -g elasticsearch -d /usr/lib/elasticsearch -s /sbin/nologin \ | ||
useradd -r -g elasticsearch -d /usr/share/elasticsearch -s /sbin/nologin \ | ||
-c "elasticsearch user" elasticsearch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters