summaryrefslogtreecommitdiff
path: root/app-admin/fluentd/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-06-30 08:49:38 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-06-30 08:49:38 +0100
commitb2be182d49eea46686b5cf2680d457df61e89dc4 (patch)
treec66442ced2011c5ca81c3114cc51041e314c6d33 /app-admin/fluentd/files
parente23cdda4dbb0c83b9e682ab5e916085a35203da5 (diff)
gentoo resync : 30.06.2018
Diffstat (limited to 'app-admin/fluentd/files')
-rw-r--r--app-admin/fluentd/files/fluentd.initd7
1 files changed, 4 insertions, 3 deletions
diff --git a/app-admin/fluentd/files/fluentd.initd b/app-admin/fluentd/files/fluentd.initd
index ecbd10e0622a..b2e39d55f60e 100644
--- a/app-admin/fluentd/files/fluentd.initd
+++ b/app-admin/fluentd/files/fluentd.initd
@@ -3,11 +3,12 @@
# Distributed under the terms of the GNU General Public License v2
command=/usr/bin/fluentd
+logfile=/var/log/fluentd/fluent.log
pidfile=/var/run/fluentd.pid
-command_args="--daemon ${pidfile} --no-supervisor ${fluent_opts}"
+command_args="--daemon ${pidfile} --no-supervisor -o ${logfile} ${fluentd_opts}"
command_background=yes
command_user=fluentd:fluentd
-
+
start_pre() {
-fluentd -q --dry-run
+ fluentd -q --dry-run
}