예제 #1
0
파일: nginx.py 프로젝트: guoyu07/eru-res
def nginx_clean(ctx, remote_path, nginx_list, key_file, user):
    hosts = _load_nginx_hosts(nginx_list)
    sshs = [get_ssh(host, key_file, user) for host in hosts]
    clean_nginx(sshs, remote_path)
예제 #2
0
파일: nginx.py 프로젝트: mackjoner/eru-res
def nginx_clean(ctx, remote_path, nginx_list, key_file, user):
    hosts = _load_nginx_hosts(nginx_list)
    sshs = [get_ssh(host, key_file, user) for host in hosts]
    clean_nginx(sshs, remote_path)
예제 #3
0
파일: nginx.py 프로젝트: guoyu07/eru-res
def nginx_reload(ctx, local_path, remote_path, nginx_list, key_file, user):
    hosts = _load_nginx_hosts(nginx_list)
    sshs = [get_ssh(host, key_file, user) for host in hosts]
    reload_nginx(sshs, local_path, remote_path)
예제 #4
0
파일: nginx.py 프로젝트: mackjoner/eru-res
def nginx_reload(ctx, local_path, remote_path, nginx_list, key_file, user):
    hosts = _load_nginx_hosts(nginx_list)
    sshs = [get_ssh(host, key_file, user) for host in hosts]
    reload_nginx(sshs, local_path, remote_path)