~ahasenack/landscape-client/landscape-client-1.5.5-0ubuntu0.9.04.0

« back to all changes in this revision

Viewing changes to scripts/landscape-client

  • Committer: Bazaar Package Importer
  • Author(s): Rick Clark
  • Date: 2008-09-08 16:35:57 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080908163557-l3ixzj5dxz37wnw2
Tags: 1.0.18-0ubuntu1
New upstream release 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python
 
2
import sys, os
 
3
if os.path.dirname(os.path.abspath(sys.argv[0])) == os.path.abspath("scripts"):
 
4
    sys.path.insert(0, "./")
 
5
 
 
6
# This is needed for DBUS listeners to work.
 
7
from twisted.internet.glib2reactor import install
 
8
install()
 
9
 
 
10
from landscape.watchdog import run
 
11
 
 
12
if __name__ == "__main__":
 
13
    run()