@ -1,6 +1,6 @@
#!/bin/bash
set -eux
set -eu
if [[ -z "$(ls -A /app/data)" ]]; then
echo "=> Detected first run"
@ -10,4 +10,5 @@ fi
chown -R www-data.www-data /app/data
echo "==> Starting searx"
exec gosu www-data python /app/code/searx/webapp.py