summaryrefslogtreecommitdiff
path: root/app-admin/fluentd/files/fluentd.initd
blob: ecbd10e0622ac4ef9d0c566078ce207cab8c8398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

command=/usr/bin/fluentd
pidfile=/var/run/fluentd.pid
command_args="--daemon ${pidfile} --no-supervisor ${fluent_opts}"
command_background=yes
command_user=fluentd:fluentd
 
start_pre() {
fluentd -q --dry-run
}