Skip to content

Commit

Permalink
Fix "no such file or directory" on startup
Browse files Browse the repository at this point in the history
Running this on 30e1191 (a version of
master that passes), shows that under
`_build/mim1/rel/mongooseim/lib/mongooseim-*/priv/lib` it is expected to
find the `.so` objects of the recently removed native code files. This
is explored when the env-var removed in this commit is attempted to be
expanded. This was used until 0874522
when it was removed.
  • Loading branch information
NelsonVides committed Dec 13, 2024
1 parent 0f2536c commit 58fb3bb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rel/files/mongooseim
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ export EJABBERD_PID_PATH="$EJABBERD_PID_PATH"
EJABBERD_STATUS_PATH="{{mongooseim_status_dir}}/status"
export EJABBERD_STATUS_PATH="$EJABBERD_STATUS_PATH"

EJABBERD_SO_PATH=`ls -dt "$RUNNER_BASE_DIR"/lib/mongooseim-*/priv/lib | head -1`
EJABBERD_CONFIG_PATH=${EJABBERD_CONFIG_PATH:-$RUNNER_ETC_DIR/mongooseim.${MONGOOSEIM_CONFIG_FORMAT:-toml}}
export EJABBERD_SO_PATH
export EJABBERD_CONFIG_PATH

# Make sure this script is running as the appropriate user
Expand Down

0 comments on commit 58fb3bb

Please sign in to comment.