mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-20 16:03:06 +01:00
look for needs_restarted file
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
# if this script isn't already running
|
||||
if [[ ! "`pidof -x $(basename $0) -o %PPID`" ]]; then
|
||||
|
||||
NEEDS_RESTART=$(cat /var/log/sostatus/needs-restarted)
|
||||
NEEDS_RESTART=$(cat /var/log/sostatus/needs_restarted)
|
||||
|
||||
echo "os restart=$NEEDS_RESTART"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user