60292725e0
👷 Docker 支持数据持久化、Root 权限 (#73)
7 lines
167 B
Plaintext
Executable File
7 lines
167 B
Plaintext
Executable File
#!/usr/bin/with-contenv bash
|
|
|
|
if [[ $RUN_AS_ROOT != true ]]; then
|
|
exec s6-setuidgid pagermaid redis-server --daemonize yes
|
|
else
|
|
redis-server --daemonize yes
|
|
fi |