Fix redis ownership (#927)
Co-authored-by: socksprox <info@shadowfly.net>
This commit is contained in:
parent
d22a12cb34
commit
689dc5ffa8
@ -148,4 +148,5 @@ echo "[entrypoint] Starting services (caddy=${ENABLE_CADDY} web=${ENABLE_WEB} ho
|
|||||||
# PIDs left over from a previous container run (causes Swoole kill EPERM).
|
# PIDs left over from a previous container run (causes Swoole kill EPERM).
|
||||||
rm -f /www/storage/logs/octane-server-state.json /www/storage/logs/xboard-ws-server.pid 2>/dev/null || true
|
rm -f /www/storage/logs/octane-server-state.json /www/storage/logs/xboard-ws-server.pid 2>/dev/null || true
|
||||||
chown -R www:www /www 2>/dev/null || true
|
chown -R www:www /www 2>/dev/null || true
|
||||||
|
chown redis:redis /data 2>/dev/null || true
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user