From 66703fd24b33d6f2b68f14df59e2d981633922d6 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 21 Dec 2016 16:16:25 +0100 Subject: [PATCH] committing changes in /etc after emerge run Package changes: +net-analyzer/rrdtool-1.5.5 --- .etckeeper | 2 ++ conf.d/rrdcached | 8 ++++++++ init.d/rrdcached | 14 ++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 conf.d/rrdcached create mode 100755 init.d/rrdcached diff --git a/.etckeeper b/.etckeeper index b50cd51..82d7ff0 100755 --- a/.etckeeper +++ b/.etckeeper @@ -128,6 +128,7 @@ maybe chmod 0644 'conf.d/php-fpm' maybe chmod 0644 'conf.d/pydoc-2.7' maybe chmod 0644 'conf.d/pydoc-3.4' maybe chmod 0644 'conf.d/rarpd' +maybe chmod 0644 'conf.d/rrdcached' maybe chmod 0644 'conf.d/rsyncd' maybe chmod 0644 'conf.d/rsyslog' maybe chmod 0644 'conf.d/saslauthd' @@ -408,6 +409,7 @@ maybe chmod 0755 'init.d/pydoc-2.7' maybe chmod 0755 'init.d/pydoc-3.4' maybe chmod 0755 'init.d/rarpd' maybe chmod 0755 'init.d/root' +maybe chmod 0755 'init.d/rrdcached' maybe chmod 0755 'init.d/rsyncd' maybe chmod 0755 'init.d/rsyslog' maybe chmod 0755 'init.d/runsvdir' diff --git a/conf.d/rrdcached b/conf.d/rrdcached new file mode 100644 index 0000000..0463a79 --- /dev/null +++ b/conf.d/rrdcached @@ -0,0 +1,8 @@ +RRCACHE_ARGS="-l unix:/var/run/rrdcached.sock -j /var/lib/rrdcached/journal/ -F -b /var/lib/rrdcached/db/ -B" + +USER="" +GROUP="" + +MODE="" + +MAXWAIT=30 diff --git a/init.d/rrdcached b/init.d/rrdcached new file mode 100755 index 0000000..364695e --- /dev/null +++ b/init.d/rrdcached @@ -0,0 +1,14 @@ +#!/sbin/openrc-run +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +command="/usr/bin/rrdcached" +command_args="${RRCACHE_ARGS} -p /run/rrdcached.pid" +start_stop_daemon_args="--quiet" +description="RRDtool data caching daemon" + +depend() { + need localmount net + use logger +} -- 2.39.5