#!/bin/bash -x source ../../library/sh_lib.sh check=0 /bin/systemctl status --no-pager postgresql | /bin/grep -E 'running;|enabled;' check=$(eq_is_success ${check} 0) check_test_status ${check} "$0" exit ${check}