From owner-freebsd-hackers@freebsd.org Mon Nov 16 01:17:51 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2CDBA2F2FB for ; Mon, 16 Nov 2015 01:17:50 +0000 (UTC) (envelope-from jmaloney@pcbsd.org) Received: from barracuda.ixsystems.com (mail.ixsystems.com [69.198.165.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ixsystems.com", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BB9431272 for ; Mon, 16 Nov 2015 01:17:49 +0000 (UTC) (envelope-from jmaloney@pcbsd.org) X-ASG-Debug-ID: 1447636667-08ca040e840df30002-P5m3U7 Received: from [10.0.1.8] (ip72-209-175-134.ks.ks.cox.net [72.209.175.134]) by barracuda.ixsystems.com with ESMTP id mI9R69DFZrdH9sLT (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 15 Nov 2015 17:17:48 -0800 (PST) X-Barracuda-Envelope-From: jmaloney@pcbsd.org X-Barracuda-AUTH-User: jmaloney@pcbsd.org X-Barracuda-Apparent-Source-IP: 72.209.175.134 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: relaunchd: a portable clone of launchd From: Joe Maloney X-ASG-Orig-Subj: Re: relaunchd: a portable clone of launchd In-Reply-To: Date: Sun, 15 Nov 2015 19:17:47 -0600 Cc: freebsd-hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <21B2B211-C52C-4202-BC5F-A190B9C12CD3@pcbsd.org> References: To: Mark Heily X-Mailer: Apple Mail (2.3096.5) X-Barracuda-Connect: ip72-209-175-134.ks.ks.cox.net[72.209.175.134] X-Barracuda-Start-Time: 1447636668 X-Barracuda-Encrypted: ECDHE-RSA-AES256-SHA X-Barracuda-URL: https://10.2.0.41:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at ixsystems.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=8.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.24424 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2015 01:17:51 -0000 Awesome. Thank you! I will definitely be trying this out. One = question. Are there any plans to convert this work over from json to = UCL which FreeBSD uses for things like pkg? It is my understanding that = UCL can parse json anyway, and is the preferred format for FreeBSD from = what I can tell? Joe Maloney > On Nov 15, 2015, at 6:55 PM, Mark Heily wrote: >=20 > I've written a clone of the launchd framework found in Mac OS X [1]. > It's called "relaunchd" and I would like to some help improving it and > getting it added to the FreeBSD ports tree [2]. >=20 > Here's the source code: >=20 > https://github.com/mheily/relaunchd >=20 > One of the coolest things I've been able to do with it is to use > socket activation to launch an unmodified version of Apache inside of > a jail, pass it a socket descriptor bound to port 80 from the primary > network interface outside of the jail, and have it "just work" and > start serving web content using the pre-existing socket descriptor. > This eliminates the need to setup a cumbersome NAT and port forwarding > mechanism for each jail [3]. >=20 > This is a completely separate line of development from the work that > the NextBSD folks are doing to port the published Apple source code > for launchd and all of it's dependencies. >=20 > I'd be happy to answer questions about relaunchd, and welcome > contributions from anyone who wants to help make launchd on FreeBSD a > reality. >=20 > Regards, >=20 > - Mark >=20 > [1] https://en.wikipedia.org/wiki/Launchd > [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204240 > [3] Example: http://kbeezie.com/freebsd-jail-single-ip/ > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to = "freebsd-hackers-unsubscribe@freebsd.org"