Re: [systemd-devel] modprobe in service file

2011-11-09 Thread Kay Sievers
2011/11/9 Lennart Poettering : > On Wed, 09.11.11 08:13, "Jóhann B. Guðmundsson" (johan...@gmail.com) wrote: >> Do you have any links to documentation on how to autoload kmods on use? > > Well, this is a kernel feature. The kernel module developers have to add > the right directives to their .c so

Re: [systemd-devel] modprobe in service file

2011-11-09 Thread Lennart Poettering
On Wed, 09.11.11 08:13, "Jóhann B. Guðmundsson" (johan...@gmail.com) wrote: > On 11/09/2011 01:14 AM, Lennart Poettering wrote: > >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/ > > Do you hav

Re: [systemd-devel] modprobe in service file

2011-11-09 Thread Jóhann B. Guðmundsson
On 11/09/2011 01:14 AM, Lennart Poettering wrote: 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/ Do you have any links to documentation on how to autoload kmods on use? JBG __

Re: [systemd-devel] modprobe in service file

2011-11-08 Thread Lennart Poettering
On Tue, 08.11.11 10:14, Michael D. Berger (m.d.ber...@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

Re: [systemd-devel] modprobe in service file

2011-11-08 Thread Tomasz Torcz
On Tue, Nov 08, 2011 at 10:14:03AM -0500, Michael D. Berger 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? You can use ExecStartPre=, but nowadays it's better to load the modules at bootup, by echo ip_queu

Re: [systemd-devel] modprobe in service file

2011-11-08 Thread Michael Olbrich
On Tue, Nov 08, 2011 at 10:14:03AM -0500, Michael D. Berger 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? This runs before the actual service is started, right? ExecStartPre=/sbin/modprobe -q ip_queue Reg

[systemd-devel] modprobe in service file

2011-11-08 Thread Michael D. Berger
In my /etc/init.d/filterDaemon, I have, for example, modprobe -q ip_queue How do I do this in a new filterDaemon.service? Thanks, Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ ___ systemd-devel mailing list systemd-devel@l