diff options
author | William Hubbs <williamh@gentoo.org> | 2018-04-09 20:40:45 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2018-04-09 20:40:45 -0500 |
commit | ce0541698d15c6f20c357a29adb55511c5d54cee (patch) | |
tree | 2baac11eab84f6bf1646d78075469ce36c6c0857 /app-admin/fluentd | |
parent | sci-geosciences/liblas: remove from maintainer (diff) | |
download | gentoo-ce0541698d15c6f20c357a29adb55511c5d54cee.tar.gz gentoo-ce0541698d15c6f20c357a29adb55511c5d54cee.tar.bz2 gentoo-ce0541698d15c6f20c357a29adb55511c5d54cee.zip |
app-admin/fluentd: fix init script
Add the COMMAND_USER setting to the init script so we do not run as
root.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-admin/fluentd')
-rw-r--r-- | app-admin/fluentd/files/fluentd.initd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app-admin/fluentd/files/fluentd.initd b/app-admin/fluentd/files/fluentd.initd index c3e4a41f7deb..ecbd10e0622a 100644 --- a/app-admin/fluentd/files/fluentd.initd +++ b/app-admin/fluentd/files/fluentd.initd @@ -6,7 +6,8 @@ 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 } |