~cisco-openstack/swift/cis-havana

« back to all changes in this revision

Viewing changes to debian/swift-proxy.upstart.in

  • Committer: Mark T. Voelker
  • Date: 2013-08-24 02:55:43 UTC
  • Revision ID: mvoelker@cisco.com-20130824025543-4v1e0ar77zuy7lpt
Make swift-proxy start with keystoneclients > 0.2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
pre-start script
12
12
  if [ -f "/etc/swift/proxy-server.conf" ]; then
13
 
    exec /usr/bin/swift-init proxy-server start
 
13
    exec su -s /bin/sh -c 'usr/bin/swift-init proxy-server start' swift
14
14
  else
15
15
    exit 1
16
16
  fi