toolkit/func/core/pkg_systemd/11-systemd-service-status.sh
2021-07-04 23:50:25 -07:00

7 lines
145 B
Bash
Executable File

#!/bin/bash
r_log "systemd" "Checking if systemctl can check service status"
systemctl is-active sshd.service > /dev/null
r_checkExitStatus $?