~ubuntuone-control-tower/desktopcouch/0.5-stable

« back to all changes in this revision

Viewing changes to start-desktop-couchdb.sh

  • Committer: Tarmac
  • Author(s): Ken VanDine
  • Date: 2009-07-28 03:49:10 UTC
  • mfrom: (14.1.20 desktopcouch)
  • Revision ID: elliot@elliotmurphy.com-20090728034910-pmll010azyaaw3aw
A collection of cleanups in preparation for packaging:

Bug #399019: losf "command of doom" in advertisePort doesn't work on Karmic (Medium – Confirmed)
Bug #400157: provide dbus api to couchdb port (High – Incomplete)
Don't fallback to system couchdb.
Use xdg to find the path for the bookmark template.
Added a shortcut file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
if [ -f 'desktopcouch/local_files.py' ];
 
4
then
 
5
    PYTHONPATH=.
 
6
fi
 
7
 
 
8
PYTHONPATH=$PYTHONPATH python desktopcouch/start_local_couchdb.py
 
9
 
 
10
if [ "$DBUS_SESSION_BUS_ADDRESS" ]; then
 
11
    PYTHONPATH=$PYTHONPATH python bin/desktopcouch-service & # background, 'cos a mainloop
 
12
fi