summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2007-02-21 22:11:48 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2007-02-21 22:11:48 +0000
commitd3ea96e12549b4f75e314418de97a6820a07466f (patch)
treec6443803a46269a49cc0bf92cc6d61b6288f6fe6 /sbin/webapp-config
downloadwebapp-config-d3ea96e12549b4f75e314418de97a6820a07466f.tar.gz
webapp-config-d3ea96e12549b4f75e314418de97a6820a07466f.tar.bz2
webapp-config-d3ea96e12549b4f75e314418de97a6820a07466f.zip
Added current version
svn path=/trunk/webapp-config/; revision=2
Diffstat (limited to 'sbin/webapp-config')
-rwxr-xr-xsbin/webapp-config44
1 files changed, 44 insertions, 0 deletions
diff --git a/sbin/webapp-config b/sbin/webapp-config
new file mode 100755
index 0000000..7d30ba6
--- /dev/null
+++ b/sbin/webapp-config
@@ -0,0 +1,44 @@
+#!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. '''
+
+__version__ = "$Id: webapp-config 126 2005-11-05 23:26:48Z wrobel $"
+
+# ========================================================================
+# 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()