mirror of
https://github.com/dokku/dokku.git
synced 2026-02-24 04:00:36 +01:00
fix: missing export DOKKU_LIB_HOST_ROOT
Populates DOKKU_LIB_HOST_ROOT into /etc/default/dokku which is required to enable plugins such as postgres to store data in the correct location.
This commit is contained in:
@@ -69,6 +69,11 @@ main() {
|
||||
chown dokku:dokku /etc/default/dokku
|
||||
fi
|
||||
|
||||
if [[ -n "$DOKKU_LIB_HOST_ROOT" ]]; then
|
||||
echo "export DOKKU_LIB_HOST_ROOT=$DOKKU_LIB_HOST_ROOT" >>/etc/default/dokku
|
||||
chown dokku:dokku /etc/default/dokku
|
||||
fi
|
||||
|
||||
if [[ -f /mnt/dokku/plugin-list ]]; then
|
||||
while read line; do
|
||||
local plugin_name="$(echo "$line" | awk -F: '{print $1}')"
|
||||
|
||||
Reference in New Issue
Block a user