-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move daemon start after so more computer setup can be added by childr…
…en images (#500) * Move daemon start after so more computer setup can be added by children images * Rename to 90_start_aiida_daemon.sh in case where after daemon script required
- Loading branch information
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
# This script is executed whenever the docker container is (re)started. | ||
set -x | ||
|
||
export SHELL=/bin/bash | ||
|
||
# Daemon will start only if the database exists and is migrated to the latest version. | ||
verdi daemon start || echo "ERROR: AiiDA daemon is not running!" |