~ubuntu-branches/ubuntu/precise/swift/precise-updates

« back to all changes in this revision

Viewing changes to debian/swift-container.swift-container-auditor.upstart.in

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-03-15 15:34:19 UTC
  • Revision ID: package-import@ubuntu.com-20120315153419-i42gggdplhaju274
Tags: 1.4.7-0ubuntu2
* Fixup upstart configurations (LP: #954477):
  - d/rules: Correctly generate ALL upstart configurations when 
    building for Ubuntu.
  - d/*.upstart.in: Update upstart config's to use new conf file locations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
stop on runlevel [016]
10
10
 
11
11
pre-start script
12
 
  if [ $(find /etc/swift/container-server/ -type f 2>/dev/null | wc -l) -gt 0 ]; then
 
12
  if [ -f "/etc/swift/container-server.conf" ]; then
13
13
    exec /usr/bin/swift-init container-auditor start
14
14
  else
15
15
    exit 1