#!/usr/local/bin/python2.7

#############################################################################
#  
#	$Id: pyro-esd,v 1.2.2.2 2008/05/05 00:13:03 irmen Exp $
#	Pyro Event Server Unix Daemon
#	Author: Jeff Bauer  (jbauer@rubic.com)
#	This software is released under the MIT software license.
#
#	This is part of "Pyro" - Python Remote Objects
#	which is (c) Irmen de Jong - irmen@razorvine.net
#
#############################################################################

import os, sys
from Pyro.EventService import Server
from Pyro.ext.daemonizer import Daemonizer

class ESD(Daemonizer):
    def __init__(self):
        Daemonizer.__init__(self)

    def main_loop(self):
        Server.start(sys.argv[1:])

if __name__ == "__main__":
    ESD().process_command_line(sys.argv)
