On Sun, 2025-11-16 at 08:34 +0100, Francis Montagnac via users wrote:
> The ConditionUser systemd directive permits to do that with:
> 
>   ConditionUser=!@system
> 
> in the [Unit] section. Ref: man systemd.unit
> 
> Example: /usr/lib/systemd/user/grub-boot-success.timer

That's perfect. Checked out the grub-boot-success.timer unit and it
also had a check for "ConditionVirtualization=" that I will use also.

Thanks to both of you for the help.

Regards,
Ben
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to