diff --git a/irqbalance.spec b/irqbalance.spec index d4c3263..1a514bc 100644 --- a/irqbalance.spec +++ b/irqbalance.spec @@ -62,6 +62,7 @@ sed -ie "s|EnvironmentFile=.*|EnvironmentFile=/etc/sysconfig/irqbalance|g" misc/ # Remove syslog.target in systemd service file; not provided by systemd anymore sed -ie "s|After=syslog.target||g" misc/irqbalance.service install -D -m 0644 misc/irqbalance.service %{buildroot}%{_unitdir}/irqbalance.service +ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcirq_balancer %pre %service_add_pre irqbalance.service @@ -79,6 +80,7 @@ install -D -m 0644 misc/irqbalance.service %{buildroot}%{_unitdir}/irqbalance.se %files %defattr(-,root,root,-) %{_sbindir}/irqbalance +%{_sbindir}/rcirq_balancer %{_unitdir}/irqbalance.service %{_mandir}/man1/irqbalance.1.gz %{_localstatedir}/adm/fillup-templates/sysconfig.irqbalance