https://bugzilla.redhat.com/show_bug.cgi?id=2299972



--- Comment #2 from Jeremy Cline <[email protected]> ---
I've done some looking around and the current systemd scriptlets don't totally
support templates. What you'll want is:

%post
%systemd_post '[email protected]'

%preun
%systemd_preun 'bees@*.service'

%postun
%systemd_postun_with_restart 'bees@*.service'


However, the uninstall case currently doesn't handle the glob. This was
supposed to be fixed in systemd 256
(https://github.com/systemd/systemd/blob/eef4cd51f94d837bd0e71512c831634a2902522d/NEWS#L689)
but seems to still not work in this particular case. Still, with a little work
on the systemd side the above will at some point soon work, so that's what I'd
recommend instead of trying to work around the issue.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2299972

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202299972%23c2

-- 
_______________________________________________
package-review 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