def update(): """Update the client packages.""" utils.supervisorctl(command='stop', service='application') utils.backup_dev_packages(config=mls_config()) utils.run_buildout(config=mls_config()) utils.supervisorctl(command='start', service='application') sleep(15)
def update(): """Update the client packages.""" config = plone_config() folder = config.get('client', {}).get('dir') client_ctl(command='stop') utils.backup_dev_packages(config=config, folder=folder) utils.run_buildout(config=config, folder=folder) client_ctl(command='start')
def update_support_client(): """Update the maintenance client packages.""" utils.backup_dev_packages(config=mls_config(), folder='~/maintenance') utils.run_buildout(config=mls_config(), folder='~/maintenance')