exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

3-startdb.sh (268B)


      1 #!/bin/bash
      2 set -evux
      3 
      4 export PGPORT=5432
      5 sudo -u postgres /usr/lib/postgresql/17/bin/pg_ctl \
      6     start -D /etc/postgresql/17/main -o "-h localhost -p $PGPORT"
      7 sudo -u postgres createuser -p $PGPORT root -s -w
      8 sudo -u postgres createdb -p $PGPORT -O root talercheck
      9