summarylogtreecommitdiffstats
path: root/irqbalance.initd
diff options
context:
space:
mode:
authorAnima2023-10-09 13:03:04 +1300
committerAnima2023-10-09 13:03:04 +1300
commitd4e46562a198c41f7266986d053789faeb0c43b7 (patch)
treeeceaa8723eb2734023612cc8556af13379b0b59f /irqbalance.initd
downloadaur-d4e46562a198c41f7266986d053789faeb0c43b7.tar.gz
Initial commit
Diffstat (limited to 'irqbalance.initd')
-rw-r--r--irqbalance.initd19
1 files changed, 19 insertions, 0 deletions
diff --git a/irqbalance.initd b/irqbalance.initd
new file mode 100644
index 000000000000..9c40fd923885
--- /dev/null
+++ b/irqbalance.initd
@@ -0,0 +1,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
+}