[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wireguard
Subject:    Re: [darwin] wg-quick command line flag to prevent disown
From:       Celti Burroughs <celti () celti ! name>
Date:       2018-07-28 21:51:00
Message-ID: b421cff1-c997-480f-9ea0-8b4bf87affd7 () celti ! name
[Download RAW message or body]

On Saturday, July 28, 2018 1:36:21 PM MST, Niklas Buschmann wrote:
> Hello,
> 
> I am using macOS's launchd to create a boot daemon that runs 
> wg-quick. Now launchd seems to kill the process when wg-quick 
> calls disown[...]

You can stop launchd from garbage-collecting processes via the
plist property "AbandonProcessGroup". See the section "Careful
With That Fork, Eugene" [1] in the launchd documentation for
details on the whole mess.

~Celti

[1]: 
https://developer.apple.com/library/archive/technotes/tn2083/_index.html#//apple_ref/doc/uid/DTS10003794-CH1-SUBSECTION52
 _______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic