On Mon, 2016-02-08 at 20:03 -0600, Rob wrote:
> I've been looking at some different startup control methodoligies. 
> Basically between systemd and upstart. I like upstart because frankly
> it looks a lot simpler and neater than systemd.
> I'm well into blfs, however, and converting all my services to
> upstart jobs seems rather daunting.
> Is there a shortcut? Something that will convert standard old-style
> init scripts to upstart jobs?
> Just wondering. 

I've only looked at Upstart briefly many years ago (when it was new),
so I can't offer much detail. Like Systemd, it *can* run your old-style 
init scripts through compatibility behaviour - but I'm not aware of
anything that would actually convert old shell scripts into upstart
config files. And I doubt such a thing exists, because it would be
difficult to do well - even ignoring the fact that shell scripts can
have complex programming in them, the amount of variation from one
script to another, and from one distro to another is huge.

Besides, from past experience of both Upstart and Systemd in their
early days, I don't think that that kind of automated conversion is a
good idea. Replacing the init system with either of them requires a lot
of knowledge of the tool in question, and a lot of trial and error. If
you want to do it, my advice would be to just ignore all of the
existing services for now - do what it takes to get the system booting,
then manually re-add the services one at a time.

You may also struggle with finding good documentation. Both projects
are well documented in general, but the conversion process is something
they've never bothered writing down, because when a distro has
migrated, the work has been done by the developers working for that
distro... writing docs for some random LFS user to follow isn't exactly
a priority.

Simon.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to