mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
more logging and debugging
This commit is contained in:
@@ -1373,7 +1373,8 @@ saltify() {
|
|||||||
check_service_status() {
|
check_service_status() {
|
||||||
|
|
||||||
local service_name=$1
|
local service_name=$1
|
||||||
systemctl status $service_name > /dev/null 2>&1
|
echo "Checking service $service_name status" >> "$setup_log" 2>&1
|
||||||
|
systemctl status $service_name >> "$setup_log" 2>&1
|
||||||
local status=$?
|
local status=$?
|
||||||
#true service is running false if not
|
#true service is running false if not
|
||||||
if [ $status -gt 0 ]; then
|
if [ $status -gt 0 ]; then
|
||||||
@@ -1454,6 +1455,9 @@ salt_checkin() {
|
|||||||
((LOOP_COUNT+=1))
|
((LOOP_COUNT+=1))
|
||||||
done
|
done
|
||||||
|
|
||||||
|
systemctl status salt-master;
|
||||||
|
systemctl status salt-minion;
|
||||||
|
|
||||||
echo " Confirming existence of the CA certificate"
|
echo " Confirming existence of the CA certificate"
|
||||||
cat /etc/pki/ca.crt
|
cat /etc/pki/ca.crt
|
||||||
echo " Applyng a mine hack";
|
echo " Applyng a mine hack";
|
||||||
|
|||||||
Reference in New Issue
Block a user