Exemple #1
0
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)
Exemple #2
0
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)
Exemple #3
0
def __reload_services():
    """Reloads previously configured services"""
    supervisor.shutdown()
    nginx.reload()
    supervisor.reload()
    postgresql.reload()