mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-13 12:42:56 +01:00
verify setup
This commit is contained in:
12
setup/so-verify
Normal file → Executable file
12
setup/so-verify
Normal file → Executable file
@@ -84,19 +84,13 @@ main() {
|
||||
if log_has_errors; then
|
||||
echo "WARNING: Errors detected during setup"
|
||||
exit_code=1
|
||||
fi
|
||||
|
||||
if using_iso && cron_error_in_mail_spool; then
|
||||
elif using_iso && cron_error_in_mail_spool; then
|
||||
echo "WARNING: Unexpected cron job output in mail spool"
|
||||
exit_code=1
|
||||
fi
|
||||
|
||||
if is_manager_node && status_failed; then
|
||||
elif is_manager_node && status_failed; then
|
||||
echo "WARNING: Containers are not in a healthy state"
|
||||
exit_code=1
|
||||
fi
|
||||
|
||||
if [[ exit_code -eq 0 ]]; then
|
||||
else
|
||||
echo "Successfully completed setup!"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user