[systemd-devel] modprobe in service file

Lennart Poettering lennart at poettering.net
Tue Nov 8 17:14:21 PST 2011


On Tue, 08.11.11 10:14, Michael D. Berger (m.d.berger at ieee.org) wrote:

> In my /etc/init.d/filterDaemon, I have, for example,
>    modprobe -q ip_queue
> How do I do this in a new filterDaemon.service?

So, ideally all kmods these days can be autoloaded on use. And for the
few ones which cannot be autoloaded placing a file in
/etc/load-modules.d/ is much nicer than explicitly loading them by
explicit calls to modprobe due to parallelization and stuff... It's also
nicer to discover if modprobe invocations aren't spread over the entire OS.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list