Skip to content

Commit

Permalink
fix: relayer bin
Browse files Browse the repository at this point in the history
  • Loading branch information
debendraoli committed Nov 12, 2024
1 parent 3d89677 commit 2bac49e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions relayer/rootfs/etc/services.d/relayer/run
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
#!/usr/bin/with-contenv bash

USER="relayer"

HOME="$(eval echo ~$USER)"

RELAY_HOME="${RELAY_HOME:-/data}"

DAEMON="/usr/bin/centralized-relay start --home "$RELAY_HOME" --config $HOME/config.yaml"
DAEMON="/usr/bin/crly start"

RLY_CMD="exec $DAEMON"

Expand Down
2 changes: 1 addition & 1 deletion relayer/rootfs/usr/bin/crly
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ CONFIG_PATH="${CONFIG_PATH:-${HOME}/config.yaml}"

RELAY_HOME="${RELAY_HOME:-/data}"

exec centralized-relay "$@" --home "$RELAY_HOME" --config $CONFIG_PATH
exec /usr/bin/centralized-relay "$@" --home "$RELAY_HOME" --config $CONFIG_PATH

0 comments on commit 2bac49e

Please sign in to comment.