mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
Closes: https://bugs.gentoo.org/781197 Closes: https://github.com/gentoo/gentoo/pull/22292 Bug: https://bugs.gentoo.org/820779 Signed-off-by: Jaco Kroon <jaco@uls.co.za> Signed-off-by: William Hubbs <williamh@gentoo.org>
16 lines
400 B
Plaintext
16 lines
400 B
Plaintext
#!/sbin/openrc-run
|
|
# Copyright 1999-2018 Gentoo Authors
|
|
# 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="--no-supervisor -o ${logfile} ${fluentd_opts}"
|
|
command_background=yes
|
|
command_user=fluentd:fluentd
|
|
retry="${retry:-TERM/10/KILL/30}"
|
|
|
|
start_pre() {
|
|
fluentd -q --dry-run
|
|
}
|