irqbalance/misc/irqbalance.service
Neil Horman 02b659c372 Add sample irqbalance environment file
It was pointed out that the example systemd unit file pointed to a corresponding
environment file that had no sample.  Fix that up, and modify the unit file to
pass available option via environment variables rather than command line options
since that looks a little cleaner.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
2011-12-14 07:09:07 -05:00

11 lines
190 B
Desktop File

[Unit]
Description=irqbalance daemon
After=syslog.target
[Service]
EnvironmentFile=/path/to/irqbalance.env
ExecStart=/usr/sbin/irqbalance --foreground
[Install]
WantedBy=multi-user.target