Commit 285e7b1
committed
Fix litestream showing as "not running" in Docker
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: #431 parent c1c666a commit 285e7b1
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments