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]
This commit is contained in:
Jose Diaz-Gonzalez
2018-12-28 17:43:20 -05:00
parent a9920e7cf9
commit 1bcf91895b

View File

@@ -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"