Imported Debian patch 0.4.1-1
[cgmail.git] / idir / cgmailservice
blob9a75e0d6afbd709fe5ce3d314f35801b9cef66bd
1 #! /usr/bin/env python
2 import sys
3 import os
5 os.chdir("/usr/share/cgmail")
6 sys.path.append("/usr/share/cgmail")
8 from service.mainloop import MainLoop
9 from service.dbusinterface import get_dbus_interface
11 iface = get_dbus_interface()
12 #iface = None
13 if iface is not None:
14 print "cgmail service is already active"
15 else:
16 MainLoop()