[systemd-devel] modprobe in service file

Michael Olbrich m.olbrich at pengutronix.de
Tue Nov 8 08:20:43 PST 2011


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

Regards,
Michael


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the systemd-devel mailing list