mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
network/wildfly: Update UID/GID.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
3935b93513
commit
ea1681175b
2 changed files with 4 additions and 5 deletions
|
@ -7,6 +7,6 @@ persistence.
|
|||
WildFly requires a "wildfly" user and group; create these before running the
|
||||
SlackBuild script. Examples:
|
||||
|
||||
# groupadd -g 281 -r wildfly
|
||||
# useradd -u 281 -M -r -s /bin/bash -d /usr/share/wildfly \
|
||||
# groupadd -g 282 -r wildfly
|
||||
# useradd -u 282 -M -r -s /bin/bash -d /usr/share/wildfly \
|
||||
-c "WildFly Application Server" -g wildfly wildfly
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
PRGNAM=wildfly
|
||||
VERSION=${VERSION:-8.0.0}
|
||||
MINORVER=${MINORVER:-.Final}
|
||||
|
@ -41,8 +40,8 @@ set -e
|
|||
# Check if the 'wildfly' user & group exist:
|
||||
if [ "$(grep ^wildfly /etc/passwd)" = "" -o "$(grep ^wildfly /etc/group)" = "" ] ; then
|
||||
printf "\nYou must have a wildfly user and group.\n\nExample:\n"
|
||||
printf "\t# groupadd -g 281 wildfly\n"
|
||||
printf "\t# useradd -u 281 -M -r -s /bin/bash -d /usr/share/wildfly -c \"Wildfly Application Server\" -g wildfly wildfly\n\n"
|
||||
printf "\t# groupadd -g 282 wildfly\n"
|
||||
printf "\t# useradd -u 282 -M -r -s /bin/bash -d /usr/share/wildfly -c \"Wildfly Application Server\" -g wildfly wildfly\n\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue