#!/bin/sh echo "PSQL version: " && psql --version cat init.sql echo "Updating database" && psql -h db clearing < init.sql clearing tail -f /dev/null