From 883aa5159fbaa1e1fdb5823b0328eab4eb2ea620 Mon Sep 17 00:00:00 2001 From: Jaynti Kanani <jdkanani@gmail.com> Date: Wed, 27 May 2020 23:54:28 +0530 Subject: [PATCH] fix: exec start command in bor service --- .github/workflows/linuxpackage.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linuxpackage.yml b/.github/workflows/linuxpackage.yml index 07da48d48..bccb51b36 100644 --- a/.github/workflows/linuxpackage.yml +++ b/.github/workflows/linuxpackage.yml @@ -39,7 +39,7 @@ jobs: [Service] WorkingDirectory=/etc/bor/ EnvironmentFile=/etc/bor/metadata - ExecStart=/etc/bor/start.sh ${NETWORK_ID} ${VALIDATOR_ADDRESS} ${NODE_TYPE} + ExecStart=bash /etc/bor/start.sh ${NETWORK_ID} ${VALIDATOR_ADDRESS} ${NODE_TYPE} Type=simple User=root EOF @@ -57,6 +57,8 @@ jobs: EOF cat > start.sh <<- "EOF" + #!/usr/bin/env bash + NETWORK_ID=$1 VALIDATOR_ADDRESS=$2 NODE_TYPE=$3 -- GitLab