git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| #!/bin/bash | |
| # A lighter graphite for raspberry pi/raspbian wheezy. | |
| # For when you don't need memcache/rabbitmq/full uWSGI server/etc | |
| # Not fully tested on a clean install. This is just what it *should* take. | |
| # Installing supervisor because upstart conflicts with sysvinit | |
| aptitude update && aptitude install gcc python-dev python-pip python-cairo python-pysqlite2 supervisor libffi-dev | |
| pip install django==1.4.3 |
| 1. Stop Apache | |
| sudo /etc/init.d/apache2 stop | |
| 2. Stop Carbon | |
| sudo su www-data | |
| cd /opt/graphite/ | |
| ./bin/carbon-cache.py stop | |
| 3. Move whisper directory to new location |
| #!/bin/bash | |
| ## Adjustments | |
| PATH=/bin:/usr/bin:/sbin:/usr/sbin | |
| CARBON_SCRIPT=/etc/init.d/carbon-cache | |
| CARBON_CONF=/etc/carbon/carbon.conf | |
| RSYNC_OPTIONS='-av --ignore-existing' | |
| WHISPER_BIN=/usr/bin | |
| execute_cutover () { |