mirror of
https://github.com/yandex/pgmigrate.git
synced 2024-09-11 04:15:28 +03:00
11 lines
305 B
Bash
Executable File
11 lines
305 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/10/bin/pg_ctl -D /etc/postgresql/10/main -l /var/log/pogsgresql/postgresql-10-main.log start
|
|
cd /dist
|
|
sudo -u postgres -i tox -c /dist/tox.ini
|