[strongSwan] Slow script called by leftupdown causes clients to fail connection
flyingrhino
flyingrhino at orcon.net.nz
Tue Dec 18 20:53:08 CET 2018
Hi,
On 2018-12-19 05:48, Tobias Brunner wrote:
> Hi,
>
>> I tried forking the slow functions in my script, but it appears that
>> strongswan waits for them to exit too :(
>
> To avoid that, it's important to remember to redirect STDOUT and
> STDERR.
> For instance, if you want to start a sub-script or program for which
> you don't want to wait from your updown script, use:
Thank you very much, this is exactly what I was looking for.
I didn't think about something as simple as redirection, I was going
down the path of forking and daemonizing...
More information about the Users
mailing list