Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete lockfile on exit signals and on startup #58

Merged
merged 3 commits into from
Jan 10, 2024

Conversation

jonaski
Copy link
Member

@jonaski jonaski commented Jan 10, 2024

Delete lockfile when receiving exit signals or CTRL + C. Also, make sure we cleanup all lockfiles on startup.

If the container is forcefully quit, the lockfile will persist in /tmp. To fix this we delete all lockfiles on startup.
@jonaski jonaski requested a review from ralftar January 10, 2024 07:55
Copy link
Member

@ralftar ralftar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also bump version file if we are to release this now

@jonaski jonaski merged commit ff1080b into main Jan 10, 2024
5 checks passed
@jonaski jonaski deleted the jonaski/clear_lockfiles branch January 10, 2024 08:00
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.

None yet

2 participants