Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix startup scripts when restarting container (#476)
`20_start-postgresql.sh` and `40_prepare_aiida.sh` scripts were broken, as they would fail when a container was restarted. - Delete old ${PSQL_LOGFILE}.1.gz file before trying to create a new one - Remove stale verdi daemon pid files, which would cause the `verdi migrate` commands to fail. This is faster than `verdi daemon stop`. We suppose that the daemon is not running when we start/restart the container. --------- Co-authored-by: Daniel Hollas <danekhollas@gmail.com>
- Loading branch information