summarylogtreecommitdiffstats
path: root/irqbalance.initd
blob: 9c40fd923885838e2700f798cb8bdd0c36797cbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/sbin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/files/irqbalance.init,v 1.5 2012/01/07 22:04:49 vapier Exp $

command="/usr/sbin/irqbalance"
command_args="--foreground $IRQBALANCE_OPTS"
pidfile="/run/$RC_SVCNAME.pid"
command_background=true

depends() {
	need localmount
	after bootmisc hwdrivers modules
}

start_pre() {
	checkpath --quiet --directory --mode 0755 \
		--owner root:root /run/irqbalance
}