mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-11 06:23:47 +00:00
fix: exec start command in bor service
This commit is contained in:
parent
48c93af208
commit
883aa5159f
1 changed files with 3 additions and 1 deletions
4
.github/workflows/linuxpackage.yml
vendored
4
.github/workflows/linuxpackage.yml
vendored
|
|
@ -39,7 +39,7 @@ jobs:
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/etc/bor/
|
WorkingDirectory=/etc/bor/
|
||||||
EnvironmentFile=/etc/bor/metadata
|
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
|
Type=simple
|
||||||
User=root
|
User=root
|
||||||
EOF
|
EOF
|
||||||
|
|
@ -57,6 +57,8 @@ jobs:
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat > start.sh <<- "EOF"
|
cat > start.sh <<- "EOF"
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
NETWORK_ID=$1
|
NETWORK_ID=$1
|
||||||
VALIDATOR_ADDRESS=$2
|
VALIDATOR_ADDRESS=$2
|
||||||
NODE_TYPE=$3
|
NODE_TYPE=$3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue