Skip to content

Commit

Permalink
do a refresh instead of a restart after pull
Browse files Browse the repository at this point in the history
fix #30
  • Loading branch information
NicolasCARPi committed Mar 12, 2024
1 parent 44a6d70 commit 779b091
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog for elabctl

## Version 5.0.1

* Do a refresh (``docker compose up -d``) instead of a restart after update

## Version 5.0.0

The major version bump is simply to align with the rest of the elabftw related repositories, it has no other meaning.
Expand Down
4 changes: 2 additions & 2 deletions elabctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# https://github.com/elabftw/elabctl/
# © 2022 Nicolas CARPi @ Deltablot
# License: GPLv3
declare -r ELABCTL_VERSION='5.0.0'
declare -r ELABCTL_VERSION='5.0.1'

# default backup dir
declare BACKUP_DIR='/var/backups/elabftw'
Expand Down Expand Up @@ -534,7 +534,7 @@ function update
echo "Backup done, now updating."
fi
eval "$DC" -f "$CONF_FILE" pull
restart
refresh

echo "Do you want to update the MySQL database schema? (recommended) (y/N)"
read -r doDbUpdate
Expand Down

0 comments on commit 779b091

Please sign in to comment.