You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <[email protected]>
0 commit comments