inoki-giskard commited on
Commit
b8fdd0e
·
1 Parent(s): f990aec

Temporarily add pg_resetwal to fix intermediated postgresql state

Browse files
Files changed (1) hide show
  1. hf.sh +3 -0
hf.sh CHANGED
@@ -25,6 +25,9 @@ then
25
  export GISKARD_DEFAULT_API_KEY=gsk-$(cat /dev/urandom | tr -dc '[:alpha:]' | fold -w ${1:-28} | head -n 1)
26
  fi
27
 
 
 
 
28
  echo "Starting supervisord..."
29
 
30
  exec supervisord -c "${GSK_DIST_PATH}/supervisord.conf"
 
25
  export GISKARD_DEFAULT_API_KEY=gsk-$(cat /dev/urandom | tr -dc '[:alpha:]' | fold -w ${1:-28} | head -n 1)
26
  fi
27
 
28
+ # Remove me: temporarily try to fix postgresql
29
+ pg_resetwal $PGDATA
30
+
31
  echo "Starting supervisord..."
32
 
33
  exec supervisord -c "${GSK_DIST_PATH}/supervisord.conf"