Configure Systemd Socket Activation

as new way for Poseidon to accept connections. This should reduce our issues caused by deployments.
This commit is contained in:
Maximilian Paß
2023-12-02 16:56:43 +01:00
parent eaa022282c
commit eaddc65989
11 changed files with 128 additions and 58 deletions

3
go.mod
View File

@ -3,6 +3,7 @@ module github.com/openHPI/poseidon
go 1.21.1
require (
github.com/coreos/go-systemd/v22 v22.5.0
github.com/getsentry/sentry-go v0.26.0
github.com/google/uuid v1.5.0
github.com/gorilla/mux v1.8.1
@ -11,6 +12,7 @@ require (
github.com/hashicorp/nomad/api v0.0.0-20230922145839-20eadc7b296c
github.com/influxdata/influxdb-client-go/v2 v2.13.0
github.com/mitchellh/mapstructure v1.5.0
github.com/shirou/gopsutil/v3 v3.23.9
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.8.4
golang.org/x/sys v0.16.0
@ -85,7 +87,6 @@ require (
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 // indirect
github.com/shirou/gopsutil/v3 v3.23.9 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/stretchr/objx v0.5.1 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect