fr this time deadass on god for on it all

This commit is contained in:
2025-10-14 23:48:54 -05:00
parent cee4da2a1d
commit ce3b8bf27a

View File

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