~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/canonical/lazr/pidfile.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-29 14:50:35 UTC
  • mfrom: (14605.1.4 move-config)
  • Revision ID: launchpad@pqm.canonical.com-20111229145035-i5ffh8j81xjvc90u
[rs=sinzui][no-qa] Moved canonical.config to lp.services because it
 only pertains to Lp. Add a symlink to the old location to keep
 lp-production-configs happy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
import sys
10
10
from signal import signal, SIGTERM
11
11
 
12
 
from canonical.config import config
 
12
from lp.services.config import config
13
13
 
14
14
def pidfile_path(service_name, use_config=None):
15
15
    """Return the full pidfile path for the given service