From 2bac49e620ff661b5f52f6cbddc86f8af23be684 Mon Sep 17 00:00:00 2001 From: Debendra Oli Date: Tue, 12 Nov 2024 15:48:15 +0545 Subject: [PATCH] fix: relayer bin --- relayer/rootfs/etc/services.d/relayer/run | 8 +------- relayer/rootfs/usr/bin/crly | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/relayer/rootfs/etc/services.d/relayer/run b/relayer/rootfs/etc/services.d/relayer/run index 0192fca..7fb4ccd 100755 --- a/relayer/rootfs/etc/services.d/relayer/run +++ b/relayer/rootfs/etc/services.d/relayer/run @@ -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" diff --git a/relayer/rootfs/usr/bin/crly b/relayer/rootfs/usr/bin/crly index 9bd2ff0..3e05b4e 100755 --- a/relayer/rootfs/usr/bin/crly +++ b/relayer/rootfs/usr/bin/crly @@ -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 \ No newline at end of file +exec /usr/bin/centralized-relay "$@" --home "$RELAY_HOME" --config $CONFIG_PATH \ No newline at end of file