shiori/run.sh: set HOME
This commit is contained in:
parent
cdc7ce87cc
commit
384afc1d6e
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ fi
|
||||||
|
|
||||||
cd "${data_dir}" || { echo "Error: Failed to cd into '${data_dir}' (have you checked the permissions?)"; exit 2; };
|
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
|
if [[ "${1}" == "serve" ]]; then
|
||||||
exec /srv/shiori "$@" --port "${port}";
|
exec /srv/shiori "$@" --port "${port}";
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue