Re: Bug in s6-svc -wr?

2021-04-26 Thread Laurent Bercot
The latest s6 git now supports -r and -R operations for s6-svwait. If testing shows it's good, it will be integrated into the next release. -- Laurent

Re: Bug in s6-svc -wr?

2021-04-25 Thread Laurent Bercot
"s6-svwait -wD foo && s6-svwait -wu foo". Hmf. "s6-svwait -D foo && s6-svwait -U foo", obviously. -- Laurent

Re: Bug in s6-svc -wr?

2021-04-25 Thread Laurent Bercot
And you mean, just -wr is invalid at all, but -wu not? s6-svc -w options are really a shortcut for longer command lines involving s6-svwait and/or s6-svlisten1; I added them as an afterthought because people wanted them. Then, I added -r options by popular demand as well. The problem with

Re: Bug in s6-svc -wr?

2021-04-25 Thread Oliver Schad
On Sat, 24 Apr 2021 17:33:05 + Colin Booth wrote: > That said, the documentation could be more clear about -wr/-wR > requiring an action to differentiate them from the other wait states. Even if I didn't get immediatly, that the waiting is independent from the action (I expected that

Re: Bug in s6-svc -wr?

2021-04-24 Thread Colin Booth
On Sat, Apr 24, 2021 at 02:46:12PM +0200, Oliver Schad wrote: > Hi everbody, > > if I call "s6-svc -wr servicedir", I get an error message: > > s6-svwait: usage: s6-svwait [ -U | -u | -d | -D ] [ -a | -o ] [ -t > timeout ] servicedir... > > If I strace that, I find: > >