Skip to content

Commit

Permalink
Core - Base Station - Cleanup from review
Browse files Browse the repository at this point in the history
  • Loading branch information
GregJohnStewart committed Feb 4, 2025
1 parent 7d02b32 commit a698da5
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"type": "core",
"name": "base-station",
"title": "Base Station",
"internalBaseUriConfig": "core.baseStation.internalBaseUri",
"preservePath": true,
"stripPrefixes": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"description": "Base Station instance for Open QuarterMaster.",
"homepage": "https://github.com/Epic-Breakfast-Productions/OpenQuarterMaster/tree/main/software/open-qm-base-station",
"dependencies": {
"deb": "curl, jq, docker.io, oqm-manager-station+captain (>= 2.0.0), oqm-infra-keycloak (>= 1.1.0), oqm-core-depot, oqm-core-api (>= 2.1.0)",
"deb": "curl, jq, docker.io, oqm-manager-station+captain (>= 2.0.0), oqm-infra-keycloak (>= 1.1.0), oqm-infra-traefik (>= 1.0.0), oqm-core-depot, oqm-core-api (>= 2.1.0)",
"debRec": "oqm-plugin-ext_item_search"
},
"copyright": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ ExecStartPost=/bin/bash -c "running=\"false\"; \
fi; \
done; \
"
# docker run --rm --name oqm-core-base_station-test --network=oqm-internal docker.io/curlimages/curl:latest https://oqm-core-base_station:443/q/health -k
# docker run --rm --name oqm-core-base_station-ssl --network=oqm-internal docker.io/alpine/openssl:latest s_client -connect oqm-core-base_station:443 -servername oqm-core-base_station
ExecStartPost=/bin/bash -c "running=\"false\"; \
healthUri=\"$(oqm-config -g core.baseStation.internalBaseUri)/q/health\"; \
while [ \"$running\" != \"true\" ]; do \
Expand Down
3 changes: 0 additions & 3 deletions software/oqm-core-base-station/makeInstallers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ cat <<EOT >> "$buildDir/$debDir/DEBIAN/postinst"
#!/bin/bash
systemctl daemon-reload
# restart proxy after we add config
#systemctl restart "open\\x2bquarter\\x2bmaster\\x2dinfra\\x2dnginx.service"
systemctl enable "$serviceFileEscaped"
systemctl start "$serviceFileEscaped"
EOT
Expand Down Expand Up @@ -141,7 +139,6 @@ if [ $( docker ps -a | grep oqm-core-base_station | wc -l ) -gt 0 ]; then
else
echo "Docker container was already gone."
fi
#systemctl restart "open\\x2bquarter\\x2bmaster\\x2dinfra\\x2dnginx.service"
EOT
chmod +x "$buildDir/$debDir/DEBIAN/postrm"
Expand Down

0 comments on commit a698da5

Please sign in to comment.