From ccaffcf72dfb9f9d8f62d1eb0466fb375b529341 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 2 Mar 2022 14:57:27 +0100 Subject: [PATCH] Fixed some old relecis --- dktk-fed/traefik.yml | 4 ---- install-bridgehead.sh | 3 --- update-bridgehead.sh | 1 + 3 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 dktk-fed/traefik.yml diff --git a/dktk-fed/traefik.yml b/dktk-fed/traefik.yml deleted file mode 100644 index d3c2c5b..0000000 --- a/dktk-fed/traefik.yml +++ /dev/null @@ -1,4 +0,0 @@ -tls: - certificates: - - certFile: /tools/certs/traefik.crt - keyFile: /tools/certs/traefik.key diff --git a/install-bridgehead.sh b/install-bridgehead.sh index 155ff60..389354a 100755 --- a/install-bridgehead.sh +++ b/install-bridgehead.sh @@ -13,7 +13,6 @@ source site.conf ./lib/generate.sh - echo -e "\nInstalling systemd units ..." cp -v \ lib/systemd/bridgehead\@.service \ @@ -23,8 +22,6 @@ cp -v \ systemctl daemon-reload -echo - if ! systemctl is-active --quiet bridgehead@"${project}"; then echo "Enabling autostart of bridgehead@${project}.service" systemctl enable bridgehead@"${project}" diff --git a/update-bridgehead.sh b/update-bridgehead.sh index fdd9a9f..330d303 100755 --- a/update-bridgehead.sh +++ b/update-bridgehead.sh @@ -32,6 +32,7 @@ done if [ $git_updated = "true" ] || [ $docker_updated = "true" ]; then log "INFO" "Due to previous updates now restarting $service@$1" systemctl restart "$service@$1.service" + ./lib/generate.sh fi log "INFO" "checking updates finished" exit 0