PagerMaid-Modify/s6/etc/cont-init.d/30-config
nevinen 60292725e0
👷 Docker supports data persistence, root permissions (#73)
👷 Docker 支持数据持久化、Root 权限 (#73)
2021-05-07 23:18:06 +08:00

5 lines
112 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
if [[ $RUN_AS_ROOT != true ]]; then
chown -R pagermaid:pagermaid /pagermaid
fi