From d059f247dac9622489439e84dbaa66e5b249a1a9 Mon Sep 17 00:00:00 2001 From: Ryan Rousseau Date: Mon, 21 Dec 2020 10:59:25 -0600 Subject: [PATCH] Moved docker pull and changed nginx restart to reload --- deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy.sh b/deploy.sh index 86c1f8f..962ff23 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,6 +1,7 @@ echo "Stop octopus-local." systemctl is-active --quiet octopus-local && systemctl stop octopus-local +docker-compose pull docker-compose down if [ ! -d "mssql" ]; then @@ -19,7 +20,6 @@ if [ ! -d "sqlserver" ]; then echo "sqlserver/ configured." fi -docker-compose pull docker-compose up -d mv octopus-local.service /etc/systemd/system @@ -35,8 +35,8 @@ systemctl is-enabled --quiet octopus-local || systemctl enable octopus-local systemctl start octopus-local echo "Reload systemctl daemon." systemctl daemon-reload -echo "Restart nginx." -systemctl restart nginx +echo "Reload nginx." +systemctl reload nginx write_highlight "[octopus.local](https://octopus.local)"