def reload_service(): ''' Restart the application service. ''' with cd(buildman.get_deploy_dir()): remote_info('Reloading the service.') runner.run_script_safely(constants.SCRIPT_RELOAD)