Skip to content

Instantly share code, notes, and snippets.

@komeda-shinji
Created July 16, 2015 11:42
Show Gist options
  • Save komeda-shinji/3fddab7ad74ac8fffad6 to your computer and use it in GitHub Desktop.
Save komeda-shinji/3fddab7ad74ac8fffad6 to your computer and use it in GitHub Desktop.
diff -u rrdcached.init rrdcached.local.init
diff -u /root/rpmbuild/SOURCES/rrdcached.init /root/rpmbuild/SOURCES/rrdcached.local.init
--- /root/rpmbuild/SOURCES/rrdcached.init 2011-04-15 08:01:11.000000000 +0900
+++ /root/rpmbuild/SOURCES/rrdcached.local.init 2015-07-17 05:40:35.068703869 +0900
@@ -17,7 +17,7 @@
. /etc/rc.d/init.d/functions
prog=rrdcached
-rrdcached=/usr/bin/rrdcached
+rrdcached=/usr/local/bin/rrdcached
pidfile=/var/rrdtool/rrdcached/rrdcached.pid
[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment