Skip to content

Commit

Permalink
restart the daemon with --reset flag manually
Browse files Browse the repository at this point in the history
  • Loading branch information
superstar54 committed Apr 29, 2024
1 parent 17b27bb commit 236e410
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions post_install
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
#!/bin/bash

# After installing or updating a plugin package, one needs to restart the daemon with the --reset flag for changes to take effect.
# For the moment aiidalab only restart the daemon without the --reset flag, so we need to do it manually.
verdi daemon restart --reset

# This script is executed after the app installation completes
# triggered by the post install hook implemented in https://github.com/aiidalab/aiidalab/pull/295
# TODO: this script is not yet properly tested. The integration tests are run from the qeapp docker image, this script is executed when the app is installed by `aiidalab install`. Therefore, we need to bring original di test (which removed in https://github.com/aiidalab/aiidalab-qe/pull/449/files#diff-83993fe9ad162677c85ae244400df2469b6d666c2a28d7b8d179785e87beb7f3) back.


echo "Starting installation of QE..."
python -m aiidalab_qe install-qe & disown

Expand Down

0 comments on commit 236e410

Please sign in to comment.