Skip to content

Delete socket file when server isn't running#10

Merged
BlakeWilliams merged 2 commits intomainfrom
bmw/client-socket
Apr 14, 2022
Merged

Delete socket file when server isn't running#10
BlakeWilliams merged 2 commits intomainfrom
bmw/client-socket

Conversation

@BlakeWilliams
Copy link
Owner

Sometimes the server dies without removing the socket file. When this
happens the server will fail to start even though there is no running
server.

Instead of failing immediately, the server command now attempts to talk
to the server running on the socket. If it succeeds, it exits since a
server is already running. If it fails, it removes the socket file and
starts the server.

Sometimes the server dies without removing the socket file. When this
happens the server will fail to start even though there is no running
server.

Instead of failing immediately, the server command now attempts to talk
to the server running on the socket. If it succeeds, it exits since a
server is already running. If it fails, it removes the socket file and
starts the server.
@BlakeWilliams BlakeWilliams merged commit 1b51d02 into main Apr 14, 2022
@BlakeWilliams BlakeWilliams deleted the bmw/client-socket branch April 14, 2022 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant