Fix litestream showing as "not running" in Docker#44
Merged
fractaledmind merged 1 commit intofractaledmind:mainfrom Oct 22, 2024
Merged
Fix litestream showing as "not running" in Docker#44fractaledmind merged 1 commit intofractaledmind:mainfrom
fractaledmind merged 1 commit intofractaledmind:mainfrom
Conversation
When deploying litestream-ruby via Kamal and Docker, the dashboard shows the process as not running.
Using the "x" option for "ps" seems to solve this.
As per ps man page:
x Lift the BSD-style "must have a tty" restriction, which is
imposed upon the set of all processes when some BSD-style
(without "-") options are used or when the ps
personality setting is BSD-like. The set of
processes selected in this manner is in addition to the
set of processes selected by other means.
An alternate description is that this option causes ps to
list all processes owned by you (same EUID as ps), or to
list all processes when used together with the a option.
Resolves: fractaledmind#43
Owner
|
Released in v0.12.0 |
Contributor
Author
|
Thank you @fractaledmind Also loved your talk at RailsWorld last month - finally gave me the push to simplify my stack with the new tools and Rails 8 🚀 |
|
In case someone else ends up here because they saw a |
Owner
Add a PR to note this in README? |
|
I finally got around to adding a note in #68 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When deploying litestream-ruby via Kamal and Docker, the dashboard shows the process as not running. Using the "x" option for "ps" seems to solve this.
As per ps man page:
Resolves: #43