PagerMaid-Modify/s6/etc/cont-init.d/40-redis

7 lines
167 B
Plaintext
Raw Normal View History

#!/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