Subversion Repositories SmartDukaan

Rev

Rev 4651 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4651 Rev 4655
Line 28... Line 28...
28
        Daemon.__init__(self, options.pidfile, stdout=options.logfile, stderr=options.logfile)
28
        Daemon.__init__(self, options.pidfile, stdout=options.logfile, stderr=options.logfile)
29
        self.host = "localhost"
29
        self.host = "localhost"
30
        self.port = 9999
30
        self.port = 9999
31
        
31
        
32
        if options.environment:
32
        if options.environment:
33
            self.enironment = options.environment
33
            self.environment = options.environment
34
        else:
34
        else:
35
            self.environment = os.environ['ENV_TYPE']
35
            self.environment = os.environ['ENV_TYPE']
36
            
36
            
37
        self.cfg_file_name = os.path.dirname(os.path.realpath(__file__)) + '/resources/shop2020.cfg'
37
        self.cfg_file_name = os.path.dirname(os.path.realpath(__file__)) + '/resources/shop2020.cfg'
38
        
38