Systemd tip: service conditionals

Simone Caronni negativo17 at gmail.com
Tue May 21 12:08:42 UTC 2013


Hello,

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

Thanks,
--Simone


-- 
You cannot discover new oceans unless you have the courage to lose sight of
the shore (R. W. Emerson).

http://xkcd.com/229/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130521/9c59d6ea/attachment.html>


More information about the devel mailing list