PagerMaid-Modify/s6/etc/cont-init.d/10-adduser

9 lines
186 B
Plaintext
Raw Permalink Normal View History

#!/usr/bin/with-contenv bash
if [[ $RUN_AS_ROOT != true ]]; then
PUID=${PUID:-917}
PGID=${PGID:-917}
groupmod -o -g "$PGID" pagermaid
usermod -o -u "$PUID" pagermaid
fi