:tocdepth: 3 :py:mod:`gws.server.control` ============================ .. py:module:: gws.server.control .. autoapi-nested-parse:: Server control. Following workflows are supported: 1) Server start. This is called only once upon the container start. - (empty TMP_DIR completely in bin/gws) - configure - store the config - write server configs - (the actual invocation of the server start script takes place in bin/gws) 2) Server reconfigure. Can be called anytime, e.g. by the monitor - configure - store the config - write server configs - empty the TRANSIENT_DIR - reload all backends - reload nginx 3) Server reload. Can be called anytime, e.g. by the monitor - write server configs - empty the TRANSIENT_DIR - reload all backends - reload nginx 4) Configure (debugging) - configure - store the config 5) Configtest (debugging) - configure **Source code:** :source:`gws.server.control` Module Contents --------------- .. py:function:: app_is_running(srv) .. py:function:: configure(manifest_path=None, config_path=None, is_starting=False) .. py:function:: configure_and_store(manifest_path=None, config_path=None, is_starting=False) .. py:function:: reconfigure(manifest_path=None, config_path=None) .. py:function:: reload_all() .. py:function:: reload_app(srv) .. py:function:: reload_nginx() .. py:function:: start(manifest_path=None, config_path=None)