Upgraded slf4d, improved deploy script.

This commit is contained in:
Andrew Lalis 2023-07-16 21:59:58 -04:00
parent 1c263e2049
commit b2f7879472
3 changed files with 7 additions and 3 deletions

View File

@ -2,5 +2,9 @@
dub clean dub clean
dub build --build=release 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/ 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'

View File

@ -5,7 +5,7 @@
"copyright": "Copyright © 2023, Andrew Lalis", "copyright": "Copyright © 2023, Andrew Lalis",
"dependencies": { "dependencies": {
"handy-httpd": "~>7.6.3", "handy-httpd": "~>7.6.3",
"slf4d": "~>2.4.1" "slf4d": "~>2.4.2"
}, },
"description": "HTTP server for generating schematic materials lists.", "description": "HTTP server for generating schematic materials lists.",
"license": "proprietary", "license": "proprietary",

View File

@ -3,7 +3,7 @@
"versions": { "versions": {
"handy-httpd": "7.6.3", "handy-httpd": "7.6.3",
"httparsed": "1.2.1", "httparsed": "1.2.1",
"slf4d": "2.4.1", "slf4d": "2.4.2",
"streams": "3.5.0" "streams": "3.5.0"
} }
} }