Use upstream environment file in systemd unit
This commit is contained in:
parent
c6aab0ad03
commit
55237050dd
@ -7,7 +7,6 @@ Summary: IRQ balancing daemon
|
|||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://github.com/Irqbalance/irqbalance
|
URL: https://github.com/Irqbalance/irqbalance
|
||||||
Source0: %{url}/archive/v%{version}/irqbalance-%{version}.tar.gz
|
Source0: %{url}/archive/v%{version}/irqbalance-%{version}.tar.gz
|
||||||
Source1: irqbalance.sysconfig
|
|
||||||
Patch1: irqbalance-1.9.0-environment-file-sysconfig.patch
|
Patch1: irqbalance-1.9.0-environment-file-sysconfig.patch
|
||||||
|
|
||||||
|
|
||||||
@ -40,7 +39,7 @@ multiple CPUs for enhanced performance.
|
|||||||
%install
|
%install
|
||||||
install -D -p -m 0755 %{name} %{buildroot}%{_sbindir}/%{name}
|
install -D -p -m 0755 %{name} %{buildroot}%{_sbindir}/%{name}
|
||||||
install -D -p -m 0644 ./misc/irqbalance.service %{buildroot}/%{_unitdir}/irqbalance.service
|
install -D -p -m 0644 ./misc/irqbalance.service %{buildroot}/%{_unitdir}/irqbalance.service
|
||||||
install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
|
install -D -p -m 0644 ./misc/irqbalance.env %{buildroot}%{_sysconfdir}/sysconfig/%{name}
|
||||||
install -d %{buildroot}%{_mandir}/man1/
|
install -d %{buildroot}%{_mandir}/man1/
|
||||||
install -p -m 0644 ./irqbalance.1 %{buildroot}%{_mandir}/man1/
|
install -p -m 0644 ./irqbalance.1 %{buildroot}%{_mandir}/man1/
|
||||||
|
|
||||||
@ -67,6 +66,7 @@ make check
|
|||||||
* Mon Aug 01 2022 Timothée Ravier <tim@siosm.fr> - 2:1.9.0-1
|
* Mon Aug 01 2022 Timothée Ravier <tim@siosm.fr> - 2:1.9.0-1
|
||||||
- Update to 1.9.0 (fedora#1952715 fedora#2091169 fedora#2063926)
|
- Update to 1.9.0 (fedora#1952715 fedora#2091169 fedora#2063926)
|
||||||
- Fix EnvironmentFile location in systemd unit (fedora#2058510)
|
- Fix EnvironmentFile location in systemd unit (fedora#2058510)
|
||||||
|
- Use upstream environment file in systemd unit
|
||||||
|
|
||||||
* Sun Jul 24 2022 Leigh Scott <leigh123linux@gmail.com> - 2:1.8.0-4
|
* Sun Jul 24 2022 Leigh Scott <leigh123linux@gmail.com> - 2:1.8.0-4
|
||||||
- Fix compile issue
|
- Fix compile issue
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
# irqbalance is a daemon process that distributes interrupts across
|
|
||||||
# CPUS on SMP systems. The default is to rebalance once every 10
|
|
||||||
# seconds. This is the environment file that is specified to systemd via the
|
|
||||||
# EnvironmentFile key in the service unit file (or via whatever method the init
|
|
||||||
# system you're using has.
|
|
||||||
#
|
|
||||||
# ONESHOT=yes
|
|
||||||
# after starting, wait for a minute, then look at the interrupt
|
|
||||||
# load and balance it once; after balancing exit and do not change
|
|
||||||
# it again.
|
|
||||||
#IRQBALANCE_ONESHOT=
|
|
||||||
|
|
||||||
#
|
|
||||||
# IRQBALANCE_BANNED_CPUS
|
|
||||||
# 64 bit bitmask which allows you to indicate which cpu's should
|
|
||||||
# be skipped when reblancing irqs. Cpu numbers which have their
|
|
||||||
# corresponding bits set to one in this mask will not have any
|
|
||||||
# irq's assigned to them on rebalance
|
|
||||||
#
|
|
||||||
#IRQBALANCE_BANNED_CPUS=
|
|
||||||
|
|
||||||
#
|
|
||||||
# IRQBALANCE_ARGS
|
|
||||||
# append any args here to the irqbalance daemon as documented in the man page
|
|
||||||
#
|
|
||||||
#IRQBALANCE_ARGS=
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user