diff --git a/build-and-deploy.sh b/build-and-deploy.sh index 31381af..3562ce2 100755 --- a/build-and-deploy.sh +++ b/build-and-deploy.sh @@ -2,5 +2,9 @@ dub clean dub build --build=release +echo "Stopping CSGS service." +ssh -f root@134.209.223.55 'systemctl stop csgs' +echo "Uploading new binary." scp create-schematic-gen-site root@134.209.223.55:/opt/create-schematic-gen-site/ -ssh -f root@134.209.223.55 'systemctl restart csgs' +echo "Starting CSGS service." +ssh -f root@134.209.223.55 'systemctl start csgs' diff --git a/dub.json b/dub.json index 469ea33..0a1812b 100644 --- a/dub.json +++ b/dub.json @@ -5,7 +5,7 @@ "copyright": "Copyright © 2023, Andrew Lalis", "dependencies": { "handy-httpd": "~>7.6.3", - "slf4d": "~>2.4.1" + "slf4d": "~>2.4.2" }, "description": "HTTP server for generating schematic materials lists.", "license": "proprietary", diff --git a/dub.selections.json b/dub.selections.json index d350906..9afe0a3 100644 --- a/dub.selections.json +++ b/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "handy-httpd": "7.6.3", "httparsed": "1.2.1", - "slf4d": "2.4.1", + "slf4d": "2.4.2", "streams": "3.5.0" } }