We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e7d861 commit 9ed5194Copy full SHA for 9ed5194
1 file changed
docker-entrypoint.sh
@@ -38,6 +38,9 @@ done
38
39
if [[ ! -f /db/init_done ]]; then
40
echo "No database directory. Initializing"
41
+ touch /db/changes.log
42
+ mkdir -p /db/diffs
43
+
44
if [[ "${USE_OAUTH_COOKIE_CLIENT}" = "yes" ]]; then
45
/app/venv/bin/python /app/bin/oauth_cookie_client.py -o /db/cookie.jar -s /secrets/oauth-settings.json --format netscape
46
# necessary to add newline at the end as oauth_cookie_client doesn't do that
@@ -46,7 +49,7 @@ if [[ ! -f /db/init_done ]]; then
49
echo "# Netscape HTTP Cookie File" >/db/cookie.jar
47
50
echo "${OVERPASS_COOKIE_JAR_CONTENTS}" >>/db/cookie.jar
48
51
fi
- chown overpass /db/cookie.jar
52
+ chown -R overpass:overpass /db/cookie.jar /db/changes.log /db/diffs
53
54
if [[ "$OVERPASS_MODE" = "clone" ]]; then
55
(
0 commit comments