Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Should report an error if Constellation does not start properly on a given time, or gives errors #217

Closed
jesus-alastria opened this issue May 29, 2018 · 0 comments

Comments

@jesus-alastria
Copy link
Contributor

if [[ "$NODE_TYPE" == "general" ]]; then
echo "[*] Starting Constellation node"
nohup constellation-node ~/alastria/data/constellation/constellation.conf 2>> ~/alastria/logs/constellation_"${_TIME}".log &
check_constellation_isStarted
fi

The call to check_constellation_isStarted just waits forever until Constellation is started (see #214).
But even if #214 is corrected, this script should report properly any errors to the caller, not just a timeout, by sending back the errors logged by Constellation.
Otherwise it can only be used interactively and not by other programs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants