~ubuntu-branches/ubuntu/karmic/desktopcouch/karmic

« back to all changes in this revision

Viewing changes to desktopcouch/start_local_couchdb.py

  • Committer: Bazaar Package Importer
  • Author(s): Chad MILLER
  • Date: 2009-10-22 17:15:57 UTC
  • mfrom: (8.1.4 lucid)
  • Revision ID: james.westby@ubuntu.com-20091022171557-fg3byl03qiylovk0
* New upstream release.
  + Fix remote-db-listing bug for SSL/HTTPS services. (LP: #458540)
  + Fix OAuth signatures for SSL urls.
  + Avoid couchdb bug where users' PID files are incorrectly interpreted as
    valid by couchdb, and so after slightly different boot, desktopcouch can
    never start couchdb, causing desktopcouch to quit.  (LP: #442120)
  + For dbus, do not resolve data for events signaling a service disappears,
    and use explicit veriable-passing / references.  (LP: #440072)
  + Flip push/pull logic in replication information.
  + When pulling from remote DB, do not try to access remote management DB.
  + Use meaningful names for keyring access. (LP: #451333)

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
 
184
184
def run_couchdb():
185
185
    """Actually start the CouchDB process.  Return its PID."""
 
186
    pid = read_pidfile()
 
187
    if pid is not None and not process_is_couchdb(pid):
 
188
        print "Removing stale, deceptive pid file."
 
189
        os.remove(local_files.FILE_PID)
186
190
    local_exec = local_files.COUCH_EXEC_COMMAND + ['-b']
187
191
    try:
188
192
        # subprocess is buggy.  Chad patched, but that takes time to propagate.