Fix su prosody (4).
This commit is contained in:
@@ -65,8 +65,8 @@ fi
|
|||||||
|
|
||||||
echo "Starting Prosody..."
|
echo "Starting Prosody..."
|
||||||
|
|
||||||
# Ensure proper ownership before running
|
# Ensure proper ownership of writable directories (letsencrypt mount is read-only)
|
||||||
chown -R prosody:prosody /var/lib/prosody /var/log/prosody /var/run/prosody /etc/prosody
|
chown -R prosody:prosody /var/lib/prosody /var/log/prosody /var/run/prosody /etc/prosody/certs 2>/dev/null || true
|
||||||
|
|
||||||
# Execute as root (Prosody in containers running as root is acceptable)
|
# Execute as root (Prosody in containers running as root is acceptable)
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user