mirror of https://github.com/CISOfy/lynis.git
Merge pull request #858 from topimiettinen/fix-enabled-running-processes
Fix logging of running and enabled services
This commit is contained in:
commit
51d727d611
|
@ -594,7 +594,7 @@
|
|||
LogText "Hint: Run systemctl --full --type=service to see all services"
|
||||
Display --indent 2 --text "- Check running services (systemctl)" --result "${STATUS_DONE}" --color GREEN
|
||||
Display --indent 8 --text "Result: found ${COUNT} running services"
|
||||
LogText "Result: Found ${COUNT} enabled services"
|
||||
LogText "Result: Found ${COUNT} running services"
|
||||
|
||||
# Services at boot
|
||||
LogText "Searching for enabled services (systemctl services only)"
|
||||
|
@ -609,7 +609,7 @@
|
|||
LogText "Hint: Run systemctl list-unit-files --type=service to see all services"
|
||||
Display --indent 2 --text "- Check enabled services at boot (systemctl)" --result "${STATUS_DONE}" --color GREEN
|
||||
Display --indent 8 --text "Result: found ${COUNT} enabled services"
|
||||
LogText "Result: Found ${COUNT} running services"
|
||||
LogText "Result: Found ${COUNT} enabled services"
|
||||
|
||||
else
|
||||
|
||||
|
|
Loading…
Reference in New Issue