mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-27 15:54:09 +02:00
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"
|
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 2 --text "- Check running services (systemctl)" --result "${STATUS_DONE}" --color GREEN
|
||||||
Display --indent 8 --text "Result: found ${COUNT} running services"
|
Display --indent 8 --text "Result: found ${COUNT} running services"
|
||||||
LogText "Result: Found ${COUNT} enabled services"
|
LogText "Result: Found ${COUNT} running services"
|
||||||
|
|
||||||
# Services at boot
|
# Services at boot
|
||||||
LogText "Searching for enabled services (systemctl services only)"
|
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"
|
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 2 --text "- Check enabled services at boot (systemctl)" --result "${STATUS_DONE}" --color GREEN
|
||||||
Display --indent 8 --text "Result: found ${COUNT} enabled services"
|
Display --indent 8 --text "Result: found ${COUNT} enabled services"
|
||||||
LogText "Result: Found ${COUNT} running services"
|
LogText "Result: Found ${COUNT} enabled services"
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user