add irqbalance args variable to env file

Allow users to pass general arguments to irqbalance through systemd

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
This commit is contained in:
Neil Horman 2012-07-12 11:25:02 -04:00
parent 4e7df9d0b5
commit 9528ca203b
2 changed files with 7 additions and 1 deletions

View file

@ -18,3 +18,9 @@
# 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=

View file

@ -4,7 +4,7 @@ After=syslog.target
[Service]
EnvironmentFile=/path/to/irqbalance.env
ExecStart=/usr/sbin/irqbalance --foreground
ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS
[Install]
WantedBy=multi-user.target