Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:loosi
python-carbon
remove-opt.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File remove-opt.patch of Package python-carbon
Index: carbon-0.9.12/conf/carbon.conf.example =================================================================== --- carbon-0.9.12.orig/conf/carbon.conf.example +++ carbon-0.9.12/conf/carbon.conf.example @@ -30,6 +30,13 @@ # #LOCAL_DATA_DIR = /opt/graphite/storage/whisper/ +STORAGE_DIR = /var/lib/carbon/ +LOCAL_DATA_DIR = /var/lib/carbon/whisper/ +WHITELISTS_DIR = /var/lib/carbon/lists/ +CONF_DIR = /etc/carbon/ +LOG_DIR = /var/log/carbon/ +PID_DIR = /var/run/ + # Enable daily log rotation. If disabled, a kill -HUP can be used after a manual rotate ENABLE_LOGROTATION = True Index: carbon-0.9.12/setup.cfg =================================================================== --- carbon-0.9.12.orig/setup.cfg +++ carbon-0.9.12/setup.cfg @@ -1,9 +1,9 @@ -[install] -prefix = /opt/graphite -install-lib = %(prefix)s/lib +#[install] +#prefix = /opt/graphite +#install-lib = %(prefix)s/lib [bdist_rpm] requires = python-twisted whisper -post-install = distro/redhat/misc/postinstall +#post-install = distro/redhat/misc/postinstall Index: carbon-0.9.12/setup.py =================================================================== --- carbon-0.9.12.orig/setup.py +++ carbon-0.9.12/setup.py @@ -13,11 +13,12 @@ else: setup_kwargs = dict() -storage_dirs = [ ('storage/whisper',[]), ('storage/lists',[]), - ('storage/log',[]), ('storage/rrd',[]) ] -conf_files = [ ('conf', glob('conf/*.example')) ] +#storage_dirs = [ ('storage/whisper',[]), ('storage/lists',[]), +# ('storage/log',[]), ('storage/rrd',[]) ] +#conf_files = [ ('conf', glob('conf/*.example')) ] -install_files = storage_dirs + conf_files +#install_files = storage_dirs + conf_files +install_files = [] # If we are building on RedHat, let's use the redhat init scripts. if platform.dist()[0] == 'redhat':
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor