Skip to content

Commit

Permalink
Entry script overwrites file anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
tlvince committed Jun 1, 2023
1 parent 66826d6 commit 7458d96
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 25/apache/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
)"

if [ "$uid" != '0' ]; then
error "insufficient permissions to create Redis session handler configuration. Please bind mount a file with the following contents to $redis_session_ini_path"
echo "$redis_session_ini_contents"
error "insufficient permissions to create Redis session handler configuration. Please bind mount an empty file to $redis_session_ini_path"
else
echo "Configuring Redis as session handler"
echo "$redis_session_ini_contents" > "$redis_session_ini_path"
Expand Down

0 comments on commit 7458d96

Please sign in to comment.