You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
421 B
16 lines
421 B
#!/sbin/openrc-run
|
|
# Copyright 2018 Sony Interactive Entertainment
|
|
# 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 -o ${logfile} ${fluentd_opts}"
|
|
command_background=yes
|
|
command_user=fluentd:fluentd
|
|
retry="TERM/10/KILL/30"
|
|
|
|
start_pre() {
|
|
fluentd -q --dry-run
|
|
}
|