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