Sha256: e93c06a0158dbfbfe6937acd2608eaad23f9499306d581b203fe50e4255bd876

Contents?: true

Size: 548 Bytes

Versions: 7

Compression:

Stored size: 548 Bytes

Contents

#!/bin/bash
if [ /etc/alpine-release ]; then
    addgroup --gid ${WORDPRESS_GID} ${WORDPRESS_GROUP} && \
    adduser \
    --disabled-password \
    --gecos "" \
    --home /var/www/html \
    --ingroup ${WORDPRESS_GROUP} \
    --no-create-home \
    --uid ${WORDPRESS_UID} \
    ${WORDPRESS_USER} && \
    addgroup ${WORDPRESS_USER} www-data
else
    groupadd -g ${WORDPRESS_GID} ${WORDPRESS_GROUP} && useradd -u ${WORDPRESS_UID} -g ${WORDPRESS_GID} -m -d /var/www/html -s /bin/bash ${WORDPRESS_USER} && usermod -a -G www-data ${WORDPRESS_USER}
fi

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
roro-0.3.33 lib/roro/stacks/unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest/wordpress/adduser.sh
roro-0.3.30 lib/roro/stacks/catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one/wordpress/adduser.sh
roro-0.3.28 lib/roro/stacks/catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one/wordpress/adduser.sh
roro-0.3.27 lib/roro/stacks/catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one/wordpress/adduser.sh
roro-0.3.25 lib/roro/stacks/catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one/wordpress/adduser.sh
roro-0.3.24 lib/roro/stacks/catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one/wordpress/adduser.sh
roro-0.3.23 lib/roro/stacks/catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one/wordpress/adduser.sh