Need systemd unit file help.
hobbes1069 at gmail.com
Sun Sep 25 18:17:59 UTC 2011
On Sun, Sep 25, 2011 at 7:01 AM, Michal Schmidt <mschmidt at redhat.com> wrote:
> You can have every akmod-* package ship
> a /lib/systemd/system/akmod-*.target file to specify the ordering, e.g.
> Description=akmod for foo
> And ship a symlink
So this method will run on the earliest requirement of all installed
> Or, instead of building all the modules from akmods.service, you
> can build them using 'akmods --akmod ...' from their own akmod-*.service
> where the ordering will be defined as needed.
Here they provide their own .service file and akmods could be run more
than once during boot if the user has more than one akmod package
I like the first option because it seems more elegant, but also more
complicated. I like the second option because it puts the onus of
getting the .service file right on the maintainer of the driver
package and not me :)
More information about the devel