commit: a82b7969991774a76af7ace06e5d5ee008f8d518
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 19 22:56:20 2017 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Oct 19 22:56:20 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a82b7969
sys-cluster/ceph: initd: don't log all daemons to same file
Package-Manager: Portage-2.3.11, Repoman-2.3.3
sys-cluster/ceph/files/ceph.confd-r3 | 2 ++
sys-cluster/ceph/files/ceph.initd-r5 | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/sys-cluster/ceph/files/ceph.confd-r3
b/sys-cluster/ceph/files/ceph.confd-r3
index 54673c2688f..281037c5998 100644
--- a/sys-cluster/ceph/files/ceph.confd-r3
+++ b/sys-cluster/ceph/files/ceph.confd-r3
@@ -14,6 +14,8 @@
# settings for openrc supervisor for various ceph daemons
#
# defaults (can be overidden for each daemon)
+# stderr and stdout values get .${id}-std{out,err}.log appended to the
provided value
+#
#respawn_delay=20
#respawn_max=5
#respawn_period=1800
diff --git a/sys-cluster/ceph/files/ceph.initd-r5
b/sys-cluster/ceph/files/ceph.initd-r5
index 7087de60517..18f539a57a8 100644
--- a/sys-cluster/ceph/files/ceph.initd-r5
+++ b/sys-cluster/ceph/files/ceph.initd-r5
@@ -73,7 +73,7 @@ start_pre() {
fi
if [ "${arg_name}" = "stderr" ] || [ "${arg_name}" = "stdout"
]; then
- supervise_daemon_args="${supervise_daemon_args}
--${arg_name//_/-}=${arg_val}"
+ supervise_daemon_args="${supervise_daemon_args}
--${arg_name//_/-}=${arg_val}.${daemon_id}-${arg_name}.log"
fi
done
}