commit: e37e57699e0765d4a2d33e2a445c008cec7119bd Author: Brian Evans <grknight <AT> gentoo <DOT> org> AuthorDate: Tue Dec 28 01:31:38 2021 +0000 Commit: Brian Evans <grknight <AT> gentoo <DOT> org> CommitDate: Tue Dec 28 02:36:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e37e5769
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 <AT> gentoo.org> sys-cluster/rdma-core/files/ibacm.init | 4 ++-- sys-cluster/rdma-core/files/iwpmd.init | 4 ++-- sys-cluster/rdma-core/files/srpd.init | 4 ++-- 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}
