-upstart subpackage vs tranditional initscripts

Chris Adams cmadams at hiwaay.net
Wed Jun 2 17:11:48 UTC 2010


Once upon a time, Jeff Spaleta <jspaleta at gmail.com> said:
> On Wed, Jun 2, 2010 at 8:37 AM, Lennart Poettering <mzerqung at 0pointer.de> wrote:
> > Handling this with systemd is very easy: you can just drop in a file in
> > /etc/init.d/foo *AND* /etc/systemd/system/foo.service from the same
> > package. And then, if something that is not systemd is booted it will
> > only see the init script. And if systemd is booted it will first look at
> > the native service and ignore the init script if both exist. ALl that
> > matters is that the "foo" part for both filenames is the same.
> 
> Cool.  When it comes time to put systemd in Fedora, please make sure
> to note that in the Featuring documentation for packager guidance.

That would require systemd to be installed though, since otherwise
/etc/systemd doesn't exist (or every package that wants to drop a file
in there has to own it).

I guess the directory could be added to chkconfig or even filesystem.
-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.


More information about the devel mailing list