def stop_service(): ''' Stop the application service. ''' with cd(buildman.get_deploy_dir()): remote_info('Stopping the service.') runner.run_script_safely(constants.SCRIPT_STOP)