cwctl.py
branchstable
changeset 8994 df64cca71c36
parent 8718 9e7847dcbd94
child 9013 b4bcabf55e77
equal deleted inserted replaced
8993:82ffa4b68c9e 8994:df64cca71c36
   413             from logilab.common.shellutils import chown
   413             from logilab.common.shellutils import chown
   414             # this directory should be owned by the uid of the server process
   414             # this directory should be owned by the uid of the server process
   415             print 'set %s as owner of the data directory' % config['uid']
   415             print 'set %s as owner of the data directory' % config['uid']
   416             chown(config.appdatahome, config['uid'])
   416             chown(config.appdatahome, config['uid'])
   417         print '\n-> creation done for %s\n' % repr(config.apphome)[1:-1]
   417         print '\n-> creation done for %s\n' % repr(config.apphome)[1:-1]
   418         helper.postcreate(self.config.automatic)
   418         helper.postcreate(self.config.automatic, self.config.config_level)
   419 
   419 
   420     def _handle_win32(self, config, appid):
   420     def _handle_win32(self, config, appid):
   421         if sys.platform != 'win32':
   421         if sys.platform != 'win32':
   422             return
   422             return
   423         service_template = """
   423         service_template = """