discourse

This commit is contained in:
pvincent
2024-10-09 08:58:11 +04:00
parent 68d0a2650c
commit bf90cbb28e
4 changed files with 155 additions and 2 deletions
+2 -2
View File
@@ -140,7 +140,7 @@ function expand_conf() {
index=0
for i in "${services[@]}"; do
read -r -a item <<<"$i"
exp=${item[7]}
exp=${item[-1]} # the last item
if [[ "$exp" == true ]]; then
domain=${item[0]}
subdomain=${item[1]}
@@ -284,7 +284,7 @@ function monit_show() {
else
builtin echo -ne "${RED}✘${NC}"
fi
printf "\t%10.10s\thttps://%-40s\thttp://%s\n" "$app" "$fqdn" "$container:$port"
printf "\t%16.16s\thttps://%-40s\thttp://%s\n" "$app" "$fqdn" "$container:$port"
done
}