Re: Need systemd unit file help.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 25, 2011 at 7:01 AM, Michal Schmidt <mschmidt@xxxxxxxxxx> wrote:
> You can have every akmod-* package ship
> a /lib/systemd/system/akmod-*.target file to specify the ordering, e.g.
> akmod-foo-video-driver.target:
>
>  [Unit]
>  Description=akmod for foo
>  After=akmods.service
>  Before=prefdm.service
>
> And ship a symlink
> /lib/systemd/system/akmods.service.wants/akmod-*.target

So this method will run on the earliest requirement of all installed
akmod packages?


> 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
installed?

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 :)

Thanks,
Richard
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux