mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user