Files
poseidon/.github/workflows/resources/poseidon-minimal.service
Maximilian Paß eaddc65989 Configure Systemd Socket Activation
as new way for Poseidon to accept connections. This should reduce our issues caused by deployments.
2024-01-15 16:05:35 +00:00

13 lines
516 B
Desktop File

# This is a minimal service definition to make use of the systemd socket activation in the e2e tests.
# With Systemd socket activation, systemd sets up a listening socket on behalf of a service.
# This is useful for zero downtime deployments as the systemd sockets hold up the connections while the service is restarting.
[Unit]
Requires=poseidon.socket
[Service]
WorkingDirectory=${GITHUB_WORKSPACE}
ExecStart=${GITHUB_WORKSPACE}/poseidon
Restart=always
Environment="POSEIDON_SERVER_SYSTEMDSOCKETACTIVATION=TRUE"