Skip to content

Commit

Permalink
FMO-83: Productline updates fails due to docker-daemon restart old se…
Browse files Browse the repository at this point in the history
…rvices

- Productline updates fails due to docker-daemon restart old services

Signed-off-by: Ivan Kuznetsov <[email protected]>
  • Loading branch information
jsvapiav committed Dec 17, 2024
1 parent 3686159 commit 0e48d26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/fmo-dci-service/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ in {
# Backup the original file if it exists
if [ -e "$DCPATH" ]; then
echo "Stop docker-compose"
${pkgs.docker-compose}/bin/docker-compose -f $DCPATH down
echo "Backing up the original file"
mv "$DCPATH" "$BCPPATH"
else
Expand Down

0 comments on commit 0e48d26

Please sign in to comment.