root/projects/Twisted-Goodies/trunk/misc/etc_simpleserver_server.tac

Revision 38, 1.1 kB (checked in by edsuom, 1 year ago)

Done writing untested master service code and organizing support files

Line 
1 # -*- mode:python -*-
2 #
3 # SIMPLESERVER: (Hopefully) dirt-simple twisted-based Internet servers
4 #
5 # Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com
6 #
7 # This program is free software; you can redistribute it and/or modify it under
8 # the terms of the GNU General Public License as published by the Free Software
9 # Foundation; either version 2 of the License, or (at your option) any later
10 # version.
11 #
12 # This program is distributed in the hope that it will be useful, but WITHOUT
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14 # FOR A PARTICULAR PURPOSE.  See the file COPYING for more details.
15 #
16 # You should have received a copy of the GNU General Public License along with
17 # this program; if not, write to the Free Software Foundation, Inc., 51
18 # Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19
20 from twisted_goodies.simpleserver.service import MasterService
21
22 # The server configuration file
23 CONFIG = '/etc/simpleserver/server.conf'
24
25 # The master service runs everything and provides the application object
26 master = MasterService(CONFIG)
27 application = master.application
Note: See TracBrowser for help on using the browser.