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

7 lines
145 B
Bash
Raw Normal View History

2021-07-05 06:50:25 +00:00
#!/bin/bash
r_log "systemd" "Checking if systemctl can check service status"
systemctl is-active sshd.service > /dev/null
r_checkExitStatus $?