diff --git a/irqbalance.spec b/irqbalance.spec index 4c37d98..e756e2f 100644 --- a/irqbalance.spec +++ b/irqbalance.spec @@ -7,7 +7,6 @@ Summary: IRQ balancing daemon License: GPLv2 URL: https://github.com/Irqbalance/irqbalance Source0: %{url}/archive/v%{version}/irqbalance-%{version}.tar.gz -Source1: irqbalance.sysconfig Patch1: irqbalance-1.9.0-environment-file-sysconfig.patch @@ -40,7 +39,7 @@ multiple CPUs for enhanced performance. %install 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 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/%{name} +install -D -p -m 0644 ./misc/irqbalance.env %{buildroot}%{_sysconfdir}/sysconfig/%{name} install -d %{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 - 2:1.9.0-1 - Update to 1.9.0 (fedora#1952715 fedora#2091169 fedora#2063926) - Fix EnvironmentFile location in systemd unit (fedora#2058510) +- Use upstream environment file in systemd unit * Sun Jul 24 2022 Leigh Scott - 2:1.8.0-4 - Fix compile issue diff --git a/irqbalance.sysconfig b/irqbalance.sysconfig deleted file mode 100644 index 8ac7a29..0000000 --- a/irqbalance.sysconfig +++ /dev/null @@ -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= - -