hehe
This commit is contained in:
@@ -71,6 +71,20 @@ in {
|
||||
'')
|
||||
motd_list)}
|
||||
|
||||
echo
|
||||
echo
|
||||
|
||||
# --- gameservers ---
|
||||
echo -e "''${headings}gameservers''${reset}"
|
||||
for service in velocity smp superflat bento; do
|
||||
status=$(systemctl is-active $service 2>/dev/null)
|
||||
if [ "''${status}" = "active" ]; then
|
||||
echo -e " ''${active}$service''${reset} - running"
|
||||
else
|
||||
echo -e " ''${inactive}$service''${reset} - not running"
|
||||
fi
|
||||
|
||||
|
||||
echo
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user