~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerheadd

  • Committer: Andrew Bennetts
  • Date: 2011-06-28 13:13:05 UTC
  • Revision ID: andrew.bennetts@canonical.com-20110628131305-skv4h2z02z3iw8wc
Extract some refactoring of TemplatedBranchView and BranchWSGIApp from the jsonify branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
LHUSER=loggerhead
18
18
 
19
 
if [ `whoami` = "$LHUSER" ]; then                                                                                   
 
19
if [ `whoami` = "$LHUSER" ]; then
20
20
    SUDO=""
21
 
else                                                                                                                
 
21
else
22
22
    SUDO="sudo -H -u $LHUSER"
23
23
fi
24
24