shiori/run.sh: fix reference to shiori binary
This commit is contained in:
parent
f1e4964f4e
commit
5f8369d19c
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ 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; };
|
||||||
|
|
||||||
if [[ "${1}" == "serve" ]]; then
|
if [[ "${1}" == "serve" ]]; then
|
||||||
exec /srv/shiori/shiori "$@" -port "${port}";
|
exec /srv/shiori "$@" -port "${port}";
|
||||||
else
|
else
|
||||||
exec /srv/shiori/shiori "$@";
|
exec /srv/shiori "$@";
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue