vmm
author Pascal Volk <neverseen@users.sourceforge.net>
Wed, 02 Nov 2011 03:29:51 +0000
branchv0.6.x
changeset 444 95275b61ff8a
parent 366 d6573da35b5f
child 568 14abdd04ddf5
permissions -rwxr-xr-x
VMM/account: Integrated class ServiceSet in class Account. Replaced methods Account.enable() and Account.disable() by Account.update_serviceset(). VMM/handler: Replaced methods Handler.user_disable() and Handler.user_enable() by Handler.user_services()

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# Copyright 2007 - 2011, Pascal Volk
# See COPYING for distribution information.

"""This is the vmm main script."""

import sys

if __name__ == '__main__':
    # replace the script's cwd (/usr/local/sbin) with our module dir
    # (the location of the VirtualMailManager directory)
    sys.path[0] = '/usr/local/lib/vmm'
    from VirtualMailManager.cli.main import run
    sys.exit(run(sys.argv))