Systemd tip: service conditionals
negativo17 at gmail.com
Tue May 21 12:08:42 UTC 2013
thanks for the tip.
On 16 May 2013 20:41, Adam Williamson <awilliam at redhat.com> wrote:
> It's really neat stuff, and very easy to use: you just add a
> Condition(Something) statement to the .service file. For details on
> using these conditions, see 'man systemd.unit' and just search for
> Condition, and you'll find a list of all the available Conditions and
> how to use them.
I have a question though, what is the best option in your opinion for a
service that should start only on a UEFI based system?
If there's a way to check if Secure Boot is enabled that would be great.
Is there any official/best way to do the check in scripts / etc.?
You cannot discover new oceans unless you have the courage to lose sight of
the shore (R. W. Emerson).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel