Skip to content

Commit 3577c45

Browse files
committed
fix(database): remove postgres pid error from log
1 parent 4f54269 commit 3577c45

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

database/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ pip install .
4646
# python port of daemontools
4747
pip install envdir
4848

49-
mkdir -p /etc/wal-e.d/env /etc/postgresql/main /var/run/postgresql /var/lib/postgresql
49+
mkdir -p /etc/wal-e.d/env /etc/postgresql/main /var/lib/postgresql
5050

51-
chown -R root:postgres /etc/wal-e.d /etc/postgresql/main /var/run/postgresql /var/lib/postgresql
51+
chown -R root:postgres /etc/wal-e.d /etc/postgresql/main /var/lib/postgresql
5252

5353
# cleanup.
5454
apk del --purge \

database/templates/postgresql.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ident_file = '/etc/postgresql/main/pg_ident.conf' # ident configuration file
4646
# (change requires restart)
4747

4848
# If external_pid_file is not explicitly set, no extra PID file is written.
49-
external_pid_file = '/var/run/postgresql/daemon.pid' # write an extra PID file
49+
external_pid_file = '/var/lib/postgresql/9.3/main/daemon.pid' # write an extra PID file
5050
# (change requires restart)
5151

5252

0 commit comments

Comments
 (0)