]> err.no Git - systemd/commit
add a generator to pull rc-local.service in
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 2 Dec 2011 09:18:46 +0000 (10:18 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 2 Dec 2011 10:29:48 +0000 (11:29 +0100)
commit156730831730701cada2750e826abbf7b113861f
tree398a1262c3a7aa2cd0039781ada8d97928d8c920
parent42e87475cfe20a5e79da882012629f9d3ae63648
add a generator to pull rc-local.service in

rc-local.service acts as an ordering barrier even if its condition is
false, because conditions are evaluated when the service is about to be
started.

To avoid the ordering barrier in a legacy-free system, add a generator
to pull rc-local.service into the transaction only if the script is
executable.

If/when we rewrite SysV compatibility into a generator, this one can become
a part of it.
Makefile.am
src/rc-local-generator.c [new file with mode: 0644]
units/fedora/rc-local.service
units/suse/rc-local.service