Skip to content

Commit

Permalink
Enable config setting command
Browse files Browse the repository at this point in the history
  • Loading branch information
dantefromhell authored Dec 18, 2023
1 parent e7ddc52 commit 76cac12
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions base/docker-entrypoint.d/95-configure-humhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ if [ ! -s "${CONFIG_FILE}" ]; then
fi

# Actually do the stuff.
grep -vE '^(\s*$|#)' "${CONFIG_FILE}" | while read -r LINE; do
# su -s /bin/sh nginx -c "php yii settings/set "${moduleId}" "${name}" "${value}" --interactive=0"
# su -s /bin/sh nginx -c "php yii settings/set ${LINE} --interactive=0"
grep -vE '^(\s*$|#)' "${CONFIG_FILE}" | while read -r LINE; do
echo "Found config line: ${LINE}"
su -s /bin/sh nginx -c "php yii settings/set ${LINE} --interactive=0"
done

echo "END === DONE configuring HumHub"

0 comments on commit 76cac12

Please sign in to comment.