toolkit/func/core/pkg_rsyslog/10-test-syslog.sh

9 lines
179 B
Bash
Raw Permalink Normal View History

2021-07-05 06:50:25 +00:00
#!/bin/bash
r_log "rsyslog" "Verify that rsyslog is working as intended"
logger "$0 says Green Obsidian"
sleep 3
grep -q "Green Obsidian" /var/log/messages
r_checkExitStatus $?