Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] openrc and sysvinit init script
Date: Wed, 03 Sep 2014 12:44:58
Message-Id: CAGfcS_=aTps-K6k62CxUZGAGts5_TeFec=hxtAGDOTcDKHOw3g@mail.gmail.com
In Reply to: [gentoo-user] openrc and sysvinit init script by marco@nucleus.it
1 On Wed, Sep 3, 2014 at 6:55 AM, <marco@×××××××.it> wrote:
2 > Hi ,
3 > i know that maybe this question was asked many many times :) .
4 >
5 > Openrc has a compatibility for run, add/delete to runlevel etc ,
6 > sysvinit init script or i have to rewrite the scripts or maybe use a
7 > wrapper ?
8
9 Sysvinit scripts are rarely compatible across distros in general. For
10 OpenRC this is even more the case. Often you can write an openrc
11 wrapper around an upstream script, or it may be easier just to rewrite
12 the thing. It usually isn't that much work - but people have wanted
13 cross-distro init scripts for ages, and even with systemd this isn't
14 going to happen 100% of the time since every distro has its own way of
15 doing things.
16
17 --
18 Rich