network/wildfly: Update UID/GID.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2014-04-04 06:58:57 +07:00
parent 3935b93513
commit ea1681175b
2 changed files with 4 additions and 5 deletions

View file

@ -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

View file

@ -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