mirror of
https://github.com/yandex/pgmigrate.git
synced 2024-09-17 15:17:18 +03:00
11 lines
323 B
Bash
Executable File
11 lines
323 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
chown -R postgres:postgres /dist
|
|
mkdir -p /var/log/pogsgresql
|
|
chown postgres:postgres /var/log/pogsgresql
|
|
sudo -u postgres /usr/lib/postgresql/${PG_MAJOR}/bin/pg_ctl -D /etc/postgresql/10/main -l /var/log/pogsgresql/postgresql-${PG_MAJOR}-main.log start
|
|
cd /dist
|
|
sudo -u postgres -i tox -c /dist/tox.ini
|