Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scion.sh: block for child processes at shutdown (scionproto#4445)
The `supervisorctl shutdown` command does not block for the supervisor or its child processes to terminate. This can occasionally lead to situations where SCION processes were still running after the `scion.sh stop` command returned. In the CI system, which immediately proceeds to bundle up the log files, this led to `tar` reporting an error that the log file was still being written to. Fixed by invoking `supervisorctl stop all`, which does block, to terminate all child processes before `shutdown`.
- Loading branch information