summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2021-12-27 20:31:38 -0500
committerBrian Evans <grknight@gentoo.org>2021-12-27 21:36:40 -0500
commite37e57699e0765d4a2d33e2a445c008cec7119bd (patch)
treebfc4518d513cf56b3c4a6a99aa57d9552f5f7ca0 /sys-cluster/rdma-core
parentsci-astronomy/kstars: Stabilize 3.5.6 amd64, #829332 (diff)
downloadgentoo-e37e57699e0765d4a2d33e2a445c008cec7119bd.tar.gz
gentoo-e37e57699e0765d4a2d33e2a445c008cec7119bd.tar.bz2
gentoo-e37e57699e0765d4a2d33e2a445c008cec7119bd.zip
sys-cluster/rdma-core: Improve OpenRC script variables
Use command_background to allow for portablility instead of using start_stop_daemon_args. This enables users to leverage supervise-daemon. The changed setting has no effect for working installs. Fine to wait on new builds. Closes: https://bugs.gentoo.org/828096 Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'sys-cluster/rdma-core')
-rw-r--r--sys-cluster/rdma-core/files/ibacm.init4
-rw-r--r--sys-cluster/rdma-core/files/iwpmd.init4
-rw-r--r--sys-cluster/rdma-core/files/srpd.init4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys-cluster/rdma-core/files/ibacm.init b/sys-cluster/rdma-core/files/ibacm.init
index 719accfa95c8..e87321aae596 100644
--- a/sys-cluster/rdma-core/files/ibacm.init
+++ b/sys-cluster/rdma-core/files/ibacm.init
@@ -1,7 +1,7 @@
#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
command="/usr/sbin/ibacm"
pidfile="/run/${SVCNAME}.pid"
-start_stop_daemon_args="-b -m"
+command_background="yes"
diff --git a/sys-cluster/rdma-core/files/iwpmd.init b/sys-cluster/rdma-core/files/iwpmd.init
index b1ffa33fcc8a..c377b1e7d547 100644
--- a/sys-cluster/rdma-core/files/iwpmd.init
+++ b/sys-cluster/rdma-core/files/iwpmd.init
@@ -1,7 +1,7 @@
#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
command="/usr/sbin/iwpmd"
pidfile="/run/${SVCNAME}.pid"
-start_stop_daemon_args="-b -m"
+command_background="yes"
diff --git a/sys-cluster/rdma-core/files/srpd.init b/sys-cluster/rdma-core/files/srpd.init
index ac6db2ffad9b..28d21b264992 100644
--- a/sys-cluster/rdma-core/files/srpd.init
+++ b/sys-cluster/rdma-core/files/srpd.init
@@ -1,10 +1,10 @@
#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
command="/usr/sbin/srp_daemon.sh"
pidfile="/run/${SVCNAME}.pid"
-start_stop_daemon_args="-b -m"
+command_background="yes"
rdma_config="/etc/infiniband/openib.conf"
[ -f ${rdma_config} ] && . ${rdma_config}