def stop(): """ Stops the nginx service. """ nginx_handler('stop')
def restart(): """ Restarts the nginx service. """ nginx_handler('restart')
def start(): """ Starts the nginx service. """ nginx_handler('start')