summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cda3029)
raw | patch | inline | side by side (parent: cda3029)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 4 Oct 2009 14:06:39 +0000 (16:06 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 4 Oct 2009 14:06:39 +0000 (16:06 +0200) |
debian/rrdcached.default | patch | blob | history | |
debian/rrdcached.init.d | patch | blob | history |
index 2d61f8a7023a9e3ef062d5fa408225ce29586739..c4b7f0941e9f475bc344bed20a24e6177c9e2073 100644 (file)
--- a/debian/rrdcached.default
+++ b/debian/rrdcached.default
# options to be passed to rrdcached
# (do not specify -p <pidfile> - this is handled by the init script)
-# default: -l unix:/var/run/rrdcached.sock -F
-OPTS="-l unix:/var/run/rrdcached.sock -F"
+# default: see /etc/init.d/rrdcached
+#OPTS=""
# number of seconds to wait for rrdcached to shut down
# (writing the data to disk may take some time;
index 7c9e5d0dbd3220591eaf7d2c775290ab911c54db..1c2238426940ee4fd775b41bd8e334aa12982517 100755 (executable)
--- a/debian/rrdcached.init.d
+++ b/debian/rrdcached.init.d
DESC="RRDtool data caching daemon"
NAME=rrdcached
DAEMON=/usr/bin/rrdcached
-OPTS="-l unix:/var/run/rrdcached.sock -F"
+
+OPTS="-l unix:/var/run/rrdcached.sock"
+OPTS="$OPTS -j /var/lib/rrdcached/journal.d/ -F"
+OPTS="$OPTS -b /var/lib/rrdcached/db/ -B"
PIDFILE=/var/run/rrdcached.pid