diff --git a/images/shiori/run.sh b/images/shiori/run.sh index 0a34764..71b4398 100755 --- a/images/shiori/run.sh +++ b/images/shiori/run.sh @@ -18,6 +18,8 @@ fi cd "${data_dir}" || { echo "Error: Failed to cd into '${data_dir}' (have you checked the permissions?)"; exit 2; }; +export HOME="${data_dir}"; + if [[ "${1}" == "serve" ]]; then exec /srv/shiori "$@" --port "${port}"; else