def __reload_services(setup=False): """Reloads previously configured services""" nginx.reload() supervisor.reload() if setup: services_conf = pjoin(cget('service_dir'), 'supervisor', 'config', 'supervisor-services.conf') supervisor.reload(conf=services_conf)
def __reload_services(): """Reloads previously configured services""" supervisor.shutdown() nginx.reload() supervisor.reload() postgresql.reload()