#!/bin/sh echo "--" echo "Create a PostgreSQL database and role using /var/lib/jackal/init.sql." echo "Be sure to set the database password in the config at /etc/jackal/config.yml." echo "Afterwards, the schema can be created with /var/lib/jackal/postgres.up.psql." echo "--" export pepper=$(openssl rand -hex 12) export dialback=$(openssl rand -hex 12) umask 007 envsubst < /etc/jackal/config.yml.tmpl > /etc/jackal/config.yml