toolkit/func/core/pkg_systemd/11-systemd-service-status.sh

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 $?