> 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 <ri...@gentoo.org> wrote:
> On Wed, May 8, 2013 at 2:32 PM, William Hubbs <willi...@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
>

Reply via email to