[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Service refactoring
From: |
Thompson, David |
Subject: |
Re: Service refactoring |
Date: |
Wed, 23 Sep 2015 20:33:27 -0400 |
On Mon, Sep 21, 2015 at 12:00 PM, Ludovic Courtès <address@hidden> wrote:
> Andy Wingo <address@hidden> skribis:
>
>> On Sun 20 Sep 2015 15:42, address@hidden (Ludovic Courtès) writes:
>>
>>> I’m quite happy with the result, but comments are welcome! I’ll convert
>>> some more services to see how it goes.
>>
>> Neat! Sounds great. One question: there are some services like colord
>> or geoclue that don't need to be managed by DMD, but are just declared
>> as services so that their users are created, there /var/foo directories
>> are created, etc. The can be started by D-Bus as needed. Does the new
>> design support services of this kind?
>
> Yes it does.
>
> ‘colord’ will “extend” the D-Bus service by giving it its package object
> (thus its .service files), it will extend the activation service by
> providing it #~(mkdir "/var/foo"), and it will extend the account
> service by passing it its user accounts/groups.
I'm picturing an enhanced 'nginx-service' that is able to accept site
configuration files from other services (say, a MediaGoblin service)
and it sounds like a great feature. Now, is the following scenario
possible?: 'mediagoblin-service' can extend both 'apache-service' and
'nginx-service', and when the system configuration is realized, the
web service the user has chosen is extended.
This is really great stuff. :)
- Dave
- Service refactoring, (continued)
- Re: Service refactoring, Mark H Weaver, 2015/09/08
- Re: Service refactoring, Ludovic Courtès, 2015/09/10
- Re: Service refactoring, Ludovic Courtès, 2015/09/10
- Re: Service refactoring, Ludovic Courtès, 2015/09/20
- Re: Service refactoring, Andy Wingo, 2015/09/21
- Re: Service refactoring, Ludovic Courtès, 2015/09/21
- Re: Service refactoring,
Thompson, David <=
- Re: Service refactoring, Ludovic Courtès, 2015/09/24
- Re: Service refactoring, 宋文武, 2015/09/24
- Re: Service refactoring, Ludovic Courtès, 2015/09/24
- Re: Service refactoring, Christopher Allan Webber, 2015/09/25
- Re: Service refactoring, Ludovic Courtès, 2015/09/26
Re: [PATCHES] Get elogind-service working as intended, Ludovic Courtès, 2015/09/10