[Bug 1069335] Review Request: openstack-ironic - Management and provisioning of physical machines for Openstack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #11 from James Slagle <jslagle@xxxxxxxxxx> ---
(In reply to Steven Dake from comment #7)
> James,
> 
> Have a read of:
> https://fedoraproject.org/wiki/Packaging:ScriptletSnippets
> 
> Does anything pop out to you as a suggestion related to systemd?
> 
> Regards
> -steve

Ah, Yes :)

Per https://fedoraproject.org/wiki/Starting_services_by_default,
openstack-ironic-api and openstack-ironic-conductor should not be started by
default.

And, need to add the following to the spec file:
%post
%systemd_post openstack-ironic-api.service
%systemd_post openstack-ironic-conductor.service

%preun
%systemd_preun openstack-ironic-api.service
%systemd_preun openstack-ironic-conductor.service

%postun
%systemd_postun_with_restart openstack-ironic-api.service
%systemd_postun_with_restart openstack-ironic-conductor.service

The other OpenStack packages use the scriptlets themselves and not the
%systemd_* macros though. Is there a reason for that?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]