This commit is contained in:
parent
70febd23f9
commit
c7fc77eb2c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user