"Fossies" - the Fresh Open Source Software Archive

Member "geoserver-2.23.1/build/cite/wfs10/01-init-user.sh" (22 May 2023, 210 Bytes) of package /linux/www/geoserver-2.23.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/bash
    2 set -e
    3 
    4 psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
    5     CREATE USER cite;
    6     CREATE DATABASE cite;
    7     GRANT ALL PRIVILEGES ON DATABASE cite TO cite;
    8 EOSQL