sysinfo: update services and desc.

This commit is contained in:
creme 2020-01-19 12:04:17 +01:00
parent 69074c62c9
commit 8423ab6092
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
1 changed files with 8 additions and 3 deletions

View File

@ -131,7 +131,7 @@ cat<<EOM > "$TMP_JSON"
"url": "https://pad.envs.net/" "url": "https://pad.envs.net/"
}, },
"getwtxt": { "getwtxt": {
"desc": "a twtxt registry service", "desc": "microblogging - a twtxt registry service",
"version": "$(curl -s https://twtxt."$DOMAIN"/api/plain/version | sed 's/getwtxt v//')", "version": "$(curl -s https://twtxt."$DOMAIN"/api/plain/version | sed 's/getwtxt v//')",
"url": "https://twtxt.envs.net/" "url": "https://twtxt.envs.net/"
}, },
@ -145,6 +145,11 @@ cat<<EOM > "$TMP_JSON"
"version": "$(/usr/sbin/gophernicus -v | sed 's/Gophernicus\///' | awk '{print $1}')", "version": "$(/usr/sbin/gophernicus -v | sed 's/Gophernicus\///' | awk '{print $1}')",
"url": "gopher://envs.net/" "url": "gopher://envs.net/"
}, },
"ipinfo": {
"desc": "ip address info",
"version": "",
"url": "https://ip.envs.net/"
}
"jetforce": { "jetforce": {
"desc": "an tcp server for the gemini protocol", "desc": "an tcp server for the gemini protocol",
"version": "$(/usr/local/bin/jetforce -V | awk '{printf $2}')", "version": "$(/usr/local/bin/jetforce -V | awk '{printf $2}')",
@ -156,7 +161,7 @@ cat<<EOM > "$TMP_JSON"
"url": "https://matrix.envs.net/" "url": "https://matrix.envs.net/"
}, },
"privatebin": { "privatebin": {
"desc": "a pastebin service", "desc": "a graphical pastebin",
"version": "$(lxc-attach -n pb -- bash -c "awk '/Current version:/ {print \$3}' /var/www/PrivateBin/README.md | sed '$ s/*$//'")", "version": "$(lxc-attach -n pb -- bash -c "awk '/Current version:/ {print \$3}' /var/www/PrivateBin/README.md | sed '$ s/*$//'")",
"url": "https://pb.envs.net/" "url": "https://pb.envs.net/"
}, },
@ -171,7 +176,7 @@ cat<<EOM > "$TMP_JSON"
"url": "https://searx.envs.net/" "url": "https://searx.envs.net/"
}, },
"termbin": { "termbin": {
"desc": "a command line pastebin", "desc": "netcat-based command line pastebin",
"version": "-", "version": "-",
"url": "https://tb.envs.net/" "url": "https://tb.envs.net/"
}, },