def METHOD_NAME(context):
    assert os.path.exists('./naemon.pid'), (
        'Naemon pid file was not found'
    )
    pid = int(slurp_file('naemon.pid'))
    try:
        os.kill(pid, signal.SIGHUP)
        print(('Sent SIGHUP to naemon process (%i)' % pid))
    except OSError as e:
        print((os.strerror(e.errno)))
        pass