summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2017-10-19 15:56:20 -0700
committerPatrick McLean <chutzpah@gentoo.org>2017-10-19 15:56:20 -0700
commita82b7969991774a76af7ace06e5d5ee008f8d518 (patch)
treec7aa60301494dce4ae22263cb1335d75273e5f4b /sys-cluster
parentwww-client/opera: Old. (diff)
downloadgentoo-a82b7969991774a76af7ace06e5d5ee008f8d518.tar.gz
gentoo-a82b7969991774a76af7ace06e5d5ee008f8d518.tar.bz2
gentoo-a82b7969991774a76af7ace06e5d5ee008f8d518.zip
sys-cluster/ceph: initd: don't log all daemons to same file
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/ceph/files/ceph.confd-r32
-rw-r--r--sys-cluster/ceph/files/ceph.initd-r52
2 files changed, 3 insertions, 1 deletions
diff --git a/sys-cluster/ceph/files/ceph.confd-r3 b/sys-cluster/ceph/files/ceph.confd-r3
index 54673c2688f7..281037c59982 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 7087de605175..18f539a57a8f 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
}