irqbalance/irqbalance-1.8.0-env-file-path.patch
Tao Liu d07b107d95 Fix Wrong EnvironmentFile in irqbalance.service
Resolves: rhbz2058509

Signed-off-by: Tao Liu <ltao@redhat.com>
2022-04-08 14:43:21 +08:00

14 lines
441 B
Diff

diff --git a/misc/irqbalance.service b/misc/irqbalance.service
index 0f79c3e..18c7e9b 100644
--- a/misc/irqbalance.service
+++ b/misc/irqbalance.service
@@ -7,7 +7,7 @@ ConditionCPUs=>1
[Service]
EnvironmentFile=-/usr/lib/irqbalance/defaults.env
-EnvironmentFile=-/path/to/irqbalance.env
+EnvironmentFile=-/etc/sysconfig/irqbalance
ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS
ReadOnlyPaths=/
ReadWritePaths=/proc/irq