On Mon, Nov 3, 2025 at 3:47 AM Fabio Valentini <[email protected]> wrote:
>
> Hi all,
>
> I recently encountered an issue when packaging a project - it ships a
> systemd timer unit and a timer-activated service. What am I supposed
> to do wrt/ RPM scriptlets for these?
>
> The packaging guidelines for systemd scriptlets don't mention timer
> units at all:
> https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd
>
> The service unit is not activatable, it's only activated by the timer
> unit. Am I supposed to add RPM scriptlets for the timer unit, the
> service unit, both, or neither?
>

The timer unit is the one you add the scriptlets for. It is possible
to have presets for timer units, even if we rarely do it.


-- 
真実はいつも一つ!/ Always, there's only one truth!
-- 
_______________________________________________
devel 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