コード例 #1
0
ファイル: nginx.py プロジェクト: broadinstitute/cotton
def reload():
    helpers.signal("HUP", env.nginx_pidfile)
コード例 #2
0
ファイル: uwsgi.py プロジェクト: broadinstitute/cotton
def statistics():
    '''Dump some statistics to the log file'''
    helpers.signal("USR1", env.uwsgi_pidfile)
コード例 #3
0
ファイル: nginx.py プロジェクト: broadinstitute/cotton
def stop(kill=False):
    sig = "QUIT"
    if kill:
        sig = "KILL"

    helpers.signal(sig, env.nginx_pidfile)
コード例 #4
0
ファイル: uwsgi.py プロジェクト: broadinstitute/cotton
def restart():
    '''Hard restart of the master uwsgi process'''
    helpers.signal("TERM", env.uwsgi_pidfile)
コード例 #5
0
ファイル: uwsgi.py プロジェクト: broadinstitute/cotton
def reload():
    '''Gracefully reload the master uwsgi process and workers'''
    helpers.signal("HUP", env.uwsgi_pidfile)
コード例 #6
0
ファイル: nginx.py プロジェクト: resurgo-genetics/cotton
def reload():
    helpers.signal("HUP", env.nginx_pidfile)
コード例 #7
0
ファイル: uwsgi.py プロジェクト: broadinstitute/cotton
def stop():
    '''Stops the uwsgi instance, if the pidfile is present'''
    helpers.signal("INT", env.uwsgi_pidfile)
コード例 #8
0
ファイル: nginx.py プロジェクト: resurgo-genetics/cotton
def stop(kill=False):
    sig = "QUIT"
    if kill:
        sig = "KILL"

    helpers.signal(sig, env.nginx_pidfile)
コード例 #9
0
def statistics():
    '''Dump some statistics to the log file'''
    helpers.signal("USR1", env.uwsgi_pidfile)
コード例 #10
0
def reload():
    '''Gracefully reload the master uwsgi process and workers'''
    helpers.signal("HUP", env.uwsgi_pidfile)
コード例 #11
0
def restart():
    '''Hard restart of the master uwsgi process'''
    helpers.signal("TERM", env.uwsgi_pidfile)
コード例 #12
0
def stop():
    '''Stops the uwsgi instance, if the pidfile is present'''
    helpers.signal("INT", env.uwsgi_pidfile)