going to sleep

This commit is contained in:
2025-10-14 23:46:15 -05:00
parent 09991e9684
commit f25c552f76

View File

@@ -63,12 +63,12 @@ in {
if systemctl list-units --type=service --all | grep -q "${service}"; then
status=$(systemctl is-active ${service} 2>/dev/null)
if [ "$status" = "active" ]; then
printf "%-15s %s%s\n" "''${active}${service}''${reset}" "running"
printf "%-23s%s\n" "''${active}${service}''${reset}" "running"
else
printf "%-15s %s%s\n" "''${active}${service}''${reset}" "not running"
printf "%-23s%s\n" "''${active}${service}''${reset}" "not running"
fi
else
printf "%-15s %s%s\n" "''${active}${service}''${reset}" "not found"
printf "%-23s%s\n" "''${active}${service}''${reset}" "not found"
fi
'')
motd_list)}
@@ -80,9 +80,9 @@ in {
for service in velocity smp superflat bento; do
status=$(systemctl is-active $service 2>/dev/null)
if [ "$status" = "active" ]; then
printf "%-15s %s%s\n" "''${active}$service''${reset}" "running"
printf "%-23s%s\n" "''${active}$service''${reset}" "running"
else
printf "%-15s %s%s\n" "''${active}$service''${reset}" "not running"
printf "%-23s%s\n" "''${active}$service''${reset}" "not running"
fi
done
echo