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:
Brian Evans
2021-12-27 20:31:38 -05:00
parent 2b4fd4230d
commit e37e57699e
3 changed files with 6 additions and 6 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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}