Subject: Re: [boost] [process] daemon ideas
From: Klaim - JoÃ«l Lamotte (mjklaim_at_[hidden])
Date: 2016-11-18 05:40:55
On 18 November 2016 at 08:08, Dracon Pern <draconpern_at_[hidden]> wrote:
> I am not sure if [process] is the right library, but I am thinking about
> building something to manage daemon install/uninstall across platforms, for
> example Windows's service, OS X's launchd, systemd, and SysV init. Every
> operating system offers some way to launch a daemon at boot, and also the
> ability to stop, recover, etc. The issue is they all do it slightly
> differently, unlike having a common main(). My thinking is to provide a
> thin layer for install/remove and service notification. I have looked at
> Boost.Application, but it's lacking install/uninstall, and also seems
> overly complicated.
Here are mine:
1. The feature seems interesting to me.
2. I'm not sure if it should be in Boost.Process, maybe it should just
depend on it?
I guess it depends a lot on what the implementation needs.
3. I think there was an effort from the Boost.Application proposal to do
the same thing.
At the time Boost.Application was split into small libraries, and IIRC
some of them
are now in Boost. So basically there was interest in the daemon part of
the project too.
> Unsubscribe & other changes: http://lists.boost.org/