From ee0b0b1dff0bbec0d3539f99abe3ad8ba4783f61 Mon Sep 17 00:00:00 2001 From: Steven Foerster Date: Sun, 23 Aug 2020 21:25:00 -0400 Subject: [PATCH] stop setup restart --- scripts/restart.sh | 1 + scripts/update.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/restart.sh b/scripts/restart.sh index 423908f..b3a59a8 100755 --- a/scripts/restart.sh +++ b/scripts/restart.sh @@ -4,5 +4,6 @@ set -e export DEBIAN_FRONTEND=noninteractive +sudo systemctl stop Mistborn-base sudo systemctl restart Mistborn-setup sudo systemctl restart Mistborn-base \ No newline at end of file diff --git a/scripts/update.sh b/scripts/update.sh index 3a9e00a..8026316 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -13,11 +13,11 @@ sudo pip3 install -e /opt/mistborn/modules/mistborn-cli # handle updates to traefik #sudo cp /opt/mistborn/compose/production/traefik/traefik.toml.template /opt/mistborn/compose/production/traefik/traefik.toml -sudo systemctl restart Mistborn-setup - sudo mistborn-cli pullbuild sudo docker container prune -f sudo docker image prune -f +sudo systemctl stop Mistborn-base +sudo systemctl restart Mistborn-setup sudo systemctl restart Mistborn-base