Re: [systemd-devel] Docker, Supervisor and systemd

2014-02-21 Thread Lennart Poettering
On Thu, 20.02.14 23:25, Paul Menzel (paulepan...@users.sourceforge.net) wrote:

 Dear systemd folks,
 
 
 Docker, “an open-source project to easily create lightweight, portable,
 self-sufficient containers from any application”, [1] mostly recommends
 to use Supervisor [2] to control the processes to be run in the
 container, like starting and restarting them and logging the output.
 Actually all things systemd also does to my knowledge. Supervisor also
 needs a configuration file for each process, which it should start.
 
 Has somebody experiences to use systemd for that? Or is there a reason
 why systemd should not be used for that?

systemd should work fine for that. I figure systemd is not yet
everywhere hence they suggest an option you can install everywhere...

I had a look at the configuration file language of supervisord. THere
appears to be nothing interesting we couldn't do already. I mean, there
are certain differences, for example they have an XMLRPC API, while ours
is via D-Bus, but other than that I don't see much... They have some
fcgi hookup, but I don't grok that, and I figure we already can do kinda
the same with socket activation, but dunno...

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] Docker, Supervisor and systemd

2014-02-20 Thread Paul Menzel
Dear systemd folks,


Docker, “an open-source project to easily create lightweight, portable,
self-sufficient containers from any application”, [1] mostly recommends
to use Supervisor [2] to control the processes to be run in the
container, like starting and restarting them and logging the output.
Actually all things systemd also does to my knowledge. Supervisor also
needs a configuration file for each process, which it should start.

Has somebody experiences to use systemd for that? Or is there a reason
why systemd should not be used for that?


Thanks,

Paul


[1] https://www.docker.io/
[2] http://supervisord.org/


signature.asc
Description: This is a digitally signed message part
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Docker, Supervisor and systemd

2014-02-20 Thread David Timothy Strauss
On Thu, Feb 20, 2014 at 2:25 PM, Paul Menzel
paulepan...@users.sourceforge.net wrote:
 Or is there a reason why systemd should not be used for that?

Distro portability, but that's rapidly dying as a reason.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel