Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2016 13:31:57 -0600
From:      Mark Felder <feld@FreeBSD.org>
To:        Jan Bramkamp <crest@rlwinm.de>, freebsd-hackers@freebsd.org
Subject:   Re: syslogd(8) with OOM Killer protection
Message-ID:  <1453923117.431542.504383322.05A41332@webmail.messagingengine.com>
In-Reply-To: <56A89D7A.8080906@rlwinm.de>
References:  <CAOfEmZgzL2Ldu53CeSsKcUe00H1VAukhEopSUmpUK0=XAhsD1A@mail.gmail.com> <56A86D91.3040709@freebsd.org> <20160127072850.GG35911@ivaldir.etoilebsd.net> <CAAoTqfuVr_iXR=_AaGXTTGs20sfWeH76m3yDC-hvAL4kB9iKNA@mail.gmail.com> <56A89D7A.8080906@rlwinm.de>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, Jan 27, 2016, at 04:35, Jan Bramkamp wrote:
> 
> I would prefer to implement the a flag keeping cron (and all other base 
> system daemons) from double-forking and run it under a process 
> supervisor like daemontools.
>

There are complications preventing this from being possible in a clean
way with rc.subr (stop/status/etc will break), but if we were able to
solve them we could offer the ability to run anything we wanted under
daemon(8) with the -r flag which will automatically supervise and
restart the process if it dies.

-- 
  Mark Felder
  ports-secteam member
  feld@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1453923117.431542.504383322.05A41332>