Skip to content

Commit

Permalink
Variables fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zenodeapp committed Jan 17, 2024
1 parent a3d547b commit 8f44cc2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion utils/.install/.versionmap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.install/updater.sh v1.0.0 r
.install/_variables.sh.example v1.0.0 a
.install/_variables.sh.example v1.0.1 a
backup/create.sh v1.0.0 u
backup/README.md v1.0.0 d
fetch/peers.sh v1.0.0 u
Expand Down
2 changes: 1 addition & 1 deletion utils/.install/_variables.sh.example
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ RPC_SERVERS_URL=$FETCH_URL/rpc_servers.txt
IP_INFO_PROVIDER=ipinfo.io/ip

# /service module variables.
SERVICE_DIR=$REPO_ROOT/services # Where the service file is located, $REPO_ROOT is not defined in this example.
SERVICE_DIR=$(cd "$(dirname "$0")"/../.. && pwd)/services # Where the service file is located, this example points two directories back based on /service/* (e.g. /service/install.sh/../../services).
SERVICE_FILE=$BINARY_NAME.service
5 changes: 1 addition & 4 deletions utils/_variables.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/bash

# Root of the current repository
REPO_ROOT=$(cd "$(dirname "$0")"/.. && pwd)

# Variables for all modules
CHAIN_ID=genesis_29-2
BINARY_NAME=genesisd
Expand All @@ -22,5 +19,5 @@ RPC_SERVERS_URL=$FETCH_URL/rpc_servers.txt
IP_INFO_PROVIDER=ipinfo.io/ip

# /service module variables.
SERVICE_DIR=$REPO_ROOT/services
SERVICE_DIR=$(cd "$(dirname "$0")"/../.. && pwd)/services
SERVICE_FILE=$BINARY_NAME.service

0 comments on commit 8f44cc2

Please sign in to comment.