diff options
author | William Hubbs <williamh@gentoo.org> | 2018-11-12 18:46:45 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2018-11-12 18:48:30 -0600 |
commit | 8c247d1763da41001cb273ac44bcf927ed26034a (patch) | |
tree | 0a8ce9308992ba6d87f93479775e8f5a62d5be35 /app-admin/fluentd/files | |
parent | net-im/toxic: bump to version 0.8.3 (diff) | |
download | gentoo-8c247d1763da41001cb273ac44bcf927ed26034a.tar.gz gentoo-8c247d1763da41001cb273ac44bcf927ed26034a.tar.bz2 gentoo-8c247d1763da41001cb273ac44bcf927ed26034a.zip |
app-admin/fluentd: 1.2.6-r1 bump to add retry schedule
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-admin/fluentd/files')
-rw-r--r-- | app-admin/fluentd/files/fluentd-1.2.6.initd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-admin/fluentd/files/fluentd-1.2.6.initd b/app-admin/fluentd/files/fluentd-1.2.6.initd new file mode 100644 index 000000000000..f2019e3e116a --- /dev/null +++ b/app-admin/fluentd/files/fluentd-1.2.6.initd @@ -0,0 +1,15 @@ +#!/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 +} |