[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] OpenRC supporting systemd units
From: Ambroz Bizjak <ambrop7 () gmail ! com>
Date: 2013-05-08 18:55:35
Message-ID: CAOA3yKJb3=dazdZc3KxugsmuTVo_fXaev3zW3pV7Cg9JsM2TYA () mail ! gmail ! com
[Download RAW message or body]
> Init.d scripts are programs - they could probably do just about anything.
They couldn't monitor a process and restart it when it crashes, as
specified by the restart options in the unit file. That is, without
significant modifications in the way OpenRC works, such as adding a
monitoring process, or hacks such as launching a daemon that monitor
that process specifically.
On Wed, May 8, 2013 at 8:45 PM, Rich Freeman <rich0@gentoo.org> wrote:
> On Wed, May 8, 2013 at 2:32 PM, William Hubbs <williamh@gentoo.org> wrote:
>>
>> OpenRC can't support units directly; if this ever did happen it would
>> have to be a tool that converts units to init scripts.
>
> Or an init script skeleton that interprets a unit file. That seems
> like it shouldn't be too hard to write for a limited number of systemd
> features. Just point the conf.d file to the unit file, or use a
> convention for where the init.d script looks for the unit.
>
> Init.d scripts are programs - they could probably do just about anything.
>
> Rich
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic