From gentoo-dev Wed May 08 18:55:35 2013 From: Ambroz Bizjak Date: Wed, 08 May 2013 18:55:35 +0000 To: gentoo-dev Subject: Re: [gentoo-dev] OpenRC supporting systemd units Message-Id: X-MARC-Message: https://marc.info/?l=gentoo-dev&m=136803935218313 > 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 wrote: > On Wed, May 8, 2013 at 2:32 PM, William Hubbs 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 >