> On 30 Sep 2022, at 14:30, Nicola Mori <nicolam...@aol.com> wrote: > > # Save the long-running PID on file > ps aux | grep "sleep infinity" | head -n 1 | awk '{ print $2 }' > > /container-pipes-pid echo $! >/container-pipes-pid See man bash for $! definition. Barry
- [systemd-devel] Connect /usr/bin/init to docker contain... Nicola Mori
- Re: [systemd-devel] Connect /usr/bin/init to docke... Kai Lueke
- Re: [systemd-devel] Connect /usr/bin/init to docke... Lennart Poettering
- Re: [systemd-devel] Connect /usr/bin/init to d... Nicola Mori
- Re: [systemd-devel] Connect /usr/bin/init ... Barry
- Re: [systemd-devel] Connect /usr/bin/i... Nicola Mori