[systemd-devel] How to override generators on debian (v215)?

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Aug 17 21:51:27 UTC 2016


On Wed, Aug 17, 2016 at 04:02:00PM +0000, nusenu wrote:
> Hi,
> 
> according to the official documentation from upstream systemd [1] it is
> possible to override a package generator by placing a custom generator
> (with the same name) into  /etc/system/system-generator.
> 
> Since there is no manual page for systemd.generator on debian stable, I
> tried the paths mentioned in the upstream manual.
> 
> I created
> /etc/systemd/system-generators/tor-generator
> to override:
> 
> /lib/systemd/system-generators/tor-generator
> 
> with no effect, the former generator is not executed as expected on
> systemctl daemon-reload
> (the later is).
> 
> I assume systemd in debian stable (v215) is simply to old for this feature?
> When has it been introduced?

Overriding of generators was added in systemd 219
(https://github.com/systemd/systemd/commit/e801700e9a). I don't think there's
an easy solution for older systemds.

Zbyszek


More information about the systemd-devel mailing list