Skip to content

Commit

Permalink
fix restart zelbench script
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Jul 31, 2020
1 parent 80333ce commit 6be2f71
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions helpers/restartZelBench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#information
COIN_NAME='zelbench'
COIN_DAEMON='zelbenchd'
COIN_DAEMON_START='zelbenchd -daemon'
COIN_CLI='zelbench-cli'
COIN_PATH='/usr/local/bin'
#end of required details
Expand All @@ -22,6 +21,6 @@ sleep 2
if sudo systemctl list-units --full --no-legend --no-pager --plain --all --type service "$COIN_NAME.service" | grep -Foq "$COIN_NAME.service"; then
sudo systemctl start "$COIN_NAME"
else
"$COIN_DAEMON_START"
"$COIN_DAEMON" -daemon
fi

0 comments on commit 6be2f71

Please sign in to comment.