From 3c3582bc357c38fa8de4d685018b381925a9a294 Mon Sep 17 00:00:00 2001 From: vitrinekast Date: Wed, 27 Mar 2024 00:05:04 +0100 Subject: [PATCH] list_active_services --- templates/book.jinja | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/book.jinja b/templates/book.jinja index bd93425..a964a3a 100644 --- a/templates/book.jinja +++ b/templates/book.jinja @@ -234,6 +234,7 @@ {% endif %} + {% if list_active_services %}

tldr@chopchop:~ $sudo service --status-all

These are all of the services that are active, running, working to execute requests that enable everything @@ -241,7 +242,7 @@ The rest, marked with a [-], are idle, not running, or waiting to be activating upon sending a request. {{ log_output(list_active_services) }} - + {% if endif %}

tldr@chopchop:~ $sudo journalctl -S today -u kitchen-stove.service -u kitchen-bin.service -u kitchen-fridge.service -r -n