wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
From: Celti Burroughs <celti@celti.name>
To: <wireguard@lists.zx2c4.com>
Subject: Re: [darwin] wg-quick command line flag to prevent disown
Date: Sat, 28 Jul 2018 14:51:00 -0700	[thread overview]
Message-ID: <b421cff1-c997-480f-9ea0-8b4bf87affd7@celti.name> (raw)
In-Reply-To: <1C82AB17-0F62-4A85-A336-B6A89D79ABBA@posteo.de>

On Saturday, July 28, 2018 1:36:21 PM MST, Niklas Buschmann wrote:
> Hello,
>
> I am using macOS=E2=80=99s launchd to create a boot daemon that runs=20
> wg-quick. Now launchd seems to kill the process when wg-quick=20
> 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]:=20
https://developer.apple.com/library/archive/technotes/tn2083/_index.html#//ap=
ple_ref/doc/uid/DTS10003794-CH1-SUBSECTION52

      reply	other threads:[~2018-07-28 21:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-28 20:36 [darwin] wg-quick command line flag to prevent disown Niklas Buschmann
2018-07-28 21:51 ` Celti Burroughs [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b421cff1-c997-480f-9ea0-8b4bf87affd7@celti.name \
    --to=celti@celti.name \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).