Steve Nyemba пре 1 година
родитељ
комит
7a4f3f2566
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      bootup.sh

+ 2 - 2
bootup.sh

@@ -8,11 +8,11 @@ else
     #su postgres -c 'psql -c"CREATE USER admin WITH PASSWORD '\''Innovat10n'\'' CREATEDB; " '
     su postgres -c 'psql -c"CREATE USER $PG_USER WITH PASSWORD '\''$PG_PASSWORD'\'' CREATEDB; " '
     echo "user has been created" > /has-user
-    createdb healthcareio -Uadmin
+    createdb healthcareio -U$PG_USER
     #
     # by default we will export the data to x-healthcareio
     #
-    createdb x-healthcareio -Uadmin
+    createdb x-healthcareio -U$PG_USER
 
     mkdir $HOME/.healthcareio
     echo '{"username":"'$PG_USER'","host":"127.0.0.1"}' > $HOME/.healthcareio/auth-file.json