wrapper makes fifo in /tmp
tomalok opened this issue · 5 comments
As I explore using this for rotating logs from dockerd
which is managed by OpenRC's supervise-daemon
process, I see that log_proxy_wrapper
creates FIFOs in /tmp
by default but is overridable via the TMPDIR env var.
It would be handy if this were also explicitly overridable via a command line option, as modifying the TMPDIR itself may have additional consequences for the command being wrapped.
sounds a good idea
@thebaptiste: can you add this please ? (cli option> TMPDIR > /tmp
)
I propose --fifo-tmp-dir
(NULL
by default)
Ok. I deal with it.
@tomalok: can you try this new feature? if this is ok for you, we will push a new release with it. thanks!
sorry, i haven't had a chance to review this. if it's working for you, it's probably good for a release.
just released in 0.3 (see --fifo-tmp-dir
option)