Beispiel #1
0
def stop_server():
    """Stop the sever"""
    with server() as s:
        s.stop()
Beispiel #2
0
def start_server():
    """Start the sever"""
    with server() as s:
        s.start()
Beispiel #3
0
def restart_server():
    """Restart the sever"""
    with server() as s:
        s.restart()
Beispiel #4
0
def reboot_server():
    """Reboot the sever"""
    with server() as s:
        s.reboot()
Beispiel #5
0
def configure_server():
    """Configure the sever"""
    configurator = get_callable('server_configurator', 'Configurator')
    with server() as s:
        s.configure(configurator)
Beispiel #6
0
def initialize_server():
    """Initializer the sever"""
    with server() as s:
        s.initialize()