Skip to content

Commit 4d37d8a

Browse files
authored
v2.1.1 (#32)
Minor updates * Don't export BF_E in library scripts * Don't override environment in library scripts Development updates * Adding required environment variables to run.sh
1 parent 7a94e33 commit 4d37d8a

File tree

11 files changed

+12
-71
lines changed

11 files changed

+12
-71
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.0
1+
2.1.1

overlay/etc/bf/init.d/12-postgresql-init

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ start () {
1414
bf-debug "Running db-init."
1515
s6-setuidgid postgres initdb -D "${POSTGRESQL_DATA}"
1616

17-
# regenerate configuration
18-
db-regenerate-config
17+
# generate configuration
18+
db-generate-config
1919

2020
# start server
2121
bf-echo "Starting PostgreSQL for initialisation."
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ set -euo pipefail
77
# Run library config executable.
88
#======================================================================================================================
99

10-
bf-debug "Regenerating configuration files." "db-regenerate-config"
11-
s6-setuidgid postgres ${POSTGRESQL_LIB}/config
10+
bf-debug "Generating configuration files." "db-generate-config"
11+
s6-setuidgid postgres ${POSTGRESQL_LIB}/generate-config

overlay/usr/lib/bf/postgresql/backup

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
#!/command/with-contenv sh
1+
#!/bin/sh
22

33
set -euo pipefail
4-
export BF_E=`basename ${0}`
54

65

76
#======================================================================================================================

overlay/usr/lib/bf/postgresql/export

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
#!/command/with-contenv sh
1+
#!/bin/sh
22

33
set -euo pipefail
4-
export BF_E=`basename ${0}`
54

65

76
#======================================================================================================================

overlay/usr/lib/bf/postgresql/finish

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
#!/command/with-contenv sh
1+
#!/bin/sh
22

33
set -euo pipefail
4-
export BF_E=`basename ${0}`
54

65

76
#======================================================================================================================

overlay/usr/lib/bf/postgresql/config renamed to overlay/usr/lib/bf/postgresql/generate-config

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
#!/command/with-contenv sh
1+
#!/bin/sh
22

33
set -euo pipefail
4-
export BF_E=`basename ${0}`
54

65

76
#======================================================================================================================

overlay/usr/lib/bf/postgresql/import

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
#!/command/with-contenv sh
1+
#!/bin/sh
22

33
set -euo pipefail
4-
export BF_E=`basename ${0}`
54

65

76
#======================================================================================================================

overlay/usr/lib/bf/postgresql/init

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
#!/command/with-contenv sh
1+
#!/bin/sh
22

33
set -euo pipefail
4-
export BF_E=`basename ${0}`
54

65

76
#======================================================================================================================

overlay/usr/lib/bf/postgresql/restore

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)