summaryrefslogtreecommitdiff
blob: 463581c56c3715d46432537a10b78c9a8e0d79b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!python
#
# /usr/sbin/webapp-config
#       Python script for managing the deployment of web-based
#       applications
#
#       Originally written for the Gentoo Linux distribution
#
# Copyright (c) 1999-2005 Gentoo Foundation
#		Released under v2 of the GNU GPL
#
# Author(s)     Stuart Herbert <stuart@gentoo.org>
#               Renat Lumpau   <rl03@gentoo.org>
#               Gunnar Wrobel  <php@gunnarwrobel.de>
#
# ========================================================================
''' webapp-config is a powerful tool that allows you to install,
upgrade, and remove web-based applications in a virtual-hosting
environment.  '''

# ========================================================================
# Dependencies
# ------------------------------------------------------------------------

from WebappConfig.config import Config

def main():
    '''
    Main program call.
    '''
    # Get the configuration

    config = Config()

    config.parseparams()

    # Handle the work

    config.run()
    
if __name__ == "__main__":
    main()