mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-22 14:32:24 +00:00
8 lines
202 B
Bash
8 lines
202 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" <<-EOSQL
|
||
|
create role chirpstack with login password 'chirpstack';
|
||
|
create database chirpstack with owner chirpstack;
|
||
|
EOSQL
|