Make replace more specific
This commit is contained in:
parent
bfa59b5c63
commit
5e763900ad
1 changed files with 1 additions and 1 deletions
2
start.sh
2
start.sh
|
@ -5,7 +5,7 @@ set -eu
|
||||||
if [[ -z "$(ls -A /app/data)" ]]; then
|
if [[ -z "$(ls -A /app/data)" ]]; then
|
||||||
echo "=> Detected first run"
|
echo "=> Detected first run"
|
||||||
cp /app/code/searx/settings.yml.orig /app/data/settings.yml
|
cp /app/code/searx/settings.yml.orig /app/data/settings.yml
|
||||||
sed -i "s/127.0.0.1/0.0.0.0/g" /app/data/settings.yml
|
sed -i -e 's/bind_address : "127.0.0.1"/bind_address : "0.0.0.0"/g' /app/data/settings.yml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown -R www-data.www-data /app/data
|
chown -R www-data.www-data /app/data
|
||||||
|
|
Loading…
Reference in a new issue