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

nusenu nusenu at openmailbox.org
Wed Aug 17 16:02:00 UTC 2016


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?

Is there another workaround that one could apply?

thanks,
nusenu

[1] https://www.freedesktop.org/software/systemd/man/systemd.generator.html

background:
https://github.com/nusenu/ansible-relayor/issues/72
https://lists.torproject.org/pipermail/tor-relays/2016-August/009874.html


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160817/0fb59462/attachment.sig>


More information about the systemd-devel mailing list