On 12 October 2012 20:38, Jos Backus <[email protected]> wrote: > On Fri, Oct 12, 2012 at 1:34 AM, Steve Loughran <[email protected] > >wrote: > > > On 12 October 2012 00:27, Jos Backus <[email protected]> wrote: > > > > > > > > TL;DR: init scripts should die. > > > > > > > > +1, except: s/init/r/bash/ > > > > If you are trying to say that shell scripts are a lousy way to write > scripts that handle complex configurations, I agree. It would be much > better if all this data currently residing in dozens of shell/environment > variables was stored in a single YAML file, but shells can't handle that. > I'm likely to go with an envdir to store this data. Or maybe I'll write > some Ruby code. > > prefer python as its more common on systems by default, works on windows
> But I also think the SysV derived startup mechanism needs to be replaced. > Pidfiles are a bad solution to a problem that's already well supported by > the process table, fork()/exec*() and wait*(). Those who don't understand > UNIX are doomed to reimplement it - poorly. init.d is flawed; I don't know enough about Upstart &c to have any opinions.
