relaunchd: a portable clone of launchd
Jim Thompson
jim at netgate.com
Tue Nov 17 04:13:35 UTC 2015
> On Nov 16, 2015, at 9:32 PM, Benno Rice <benno at jeamland.net> wrote:
>
> Hi Mark!
>
> Are you also looking at constructing equivalents to things like notified,
heh: https://github.com/mheily/stated
Mass rename of "notify" to “state” (22 days ago)
https://github.com/mheily/stated/commit/7d1abc85180312421505bd6cda93f82672baacb9
> configd and asld? What are you using as your comms/RPC framework, if anything?
>
> Thanks,
> Benno.
>
>> On Nov 15, 2015, at 18:55, Mark Heily <mark at heily.com> wrote:
>>
>> 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].
>>
>> Here's the source code:
>>
>> https://github.com/mheily/relaunchd
>>
>> 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].
>>
>> 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.
>>
>> I'd be happy to answer questions about relaunchd, and welcome
>> contributions from anyone who wants to help make launchd on FreeBSD a
>> reality.
>>
>> Regards,
>>
>> - Mark
>>
>> [1] https://en.wikipedia.org/wiki/Launchd
>> [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204240
>> [3] Example: http://kbeezie.com/freebsd-jail-single-ip/
>> _______________________________________________
>> freebsd-hackers at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
More information about the freebsd-hackers
mailing list