This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#19 closed enhancement (fixed)

Automatically update etc/zodb.conf and etc/zdctl.conf after install

Reported by: dmartinc Owned by: pferreir
Priority: normal Milestone: v0.97.0
Component: Installation Version: 0.97.0
Keywords: install Cc:

Description

With setup.py develop and install commands, and MaKaC.consoleScripts.indicoInitialSetup.main as well, we should update the values inside the installed etc/zodb.conf and etc/zdctl.conf as much as possible, looking into what is written in indico.conf (ZEO server host / port, DB directory, log directory, etc.).

For this look at how setup.py already changes file contents with regular expressions (for example the _versionInit function in setup.py).

Change History (3)

comment:1 Changed 6 years ago by pferreir

  • Owner set to pferreir
  • Status changed from new to assigned

comment:2 Changed 6 years ago by jose.pedro.ferreira@…

  • Resolution set to fixed
  • Status changed from assigned to closed

commit fa0a08054b6050d7ceb11e7e822068f5a5fa5d7f
Author: Pedro Ferreira <jose.pedro.ferreira@…>
Date: Thu Nov 19 14:51:55 2009 +0100

[IMPROVEMENT] Customized zdctl.cfg and zodb.cfg


  • fixed ZEO paths and programs
  • latest path for zdctl executable;
  • user www-data -> apache;
  • closes #19

comment:3 Changed 5 years ago by Pedro Ferreira <jose.pedro.ferreira@…>

In [fa0a08054b6050d7ceb11e7e822068f5a5fa5d7f]:

[IMPROVEMENT] Customized zdctl.cfg and zodb.cfg

  • fixed ZEO paths and programs
  • latest path for zdctl executable;
  • user www-data -> apache;
  • closes #19
Note: See TracTickets for help on using tickets.