From 1bcf91895b2b044783702c4ef26ff6e3aadd45b4 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 28 Dec 2018 17:43:20 -0500 Subject: [PATCH] fix: move storage directory into DOKKU_LIB_ROOT Should this path change in the future, the storage plugin will respect the variable value. [ci skip] --- plugins/storage/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/storage/install b/plugins/storage/install index bbe4831b1..49b4ce5ec 100755 --- a/plugins/storage/install +++ b/plugins/storage/install @@ -1,5 +1,5 @@ #!/usr/bin/env bash set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x -mkdir -p /var/lib/dokku/data/storage -chown dokku:dokku /var/lib/dokku/data/storage +mkdir -p "${DOKKU_LIB_ROOT}/data/storage" +chown dokku:dokku "${DOKKU_LIB_ROOT}/data/storage"