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

9 lines
186 B
Plaintext
Raw Normal View History

2022-05-25 03:33:32 +00:00
#!/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