On Mon, Nov 3, 2025 at 1:04 PM Neal Gompa <[email protected]> wrote:
>
> 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.

Thanks for confirming - I'll apply that in the package then.

Might be good to also document this in the Packaging Guidelines so the
next person isn't as confused as me :)
https://pagure.io/packaging-committee/issue/1507

Fabio
-- 
_______________________________________________
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