From 916ac2a2427c7b1840a0cc8217704fe6e75626ff Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 15 Mar 2021 13:39:29 +0100 Subject: [PATCH] Motd: Test Gitea process --- update-motd.d/20-service | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/update-motd.d/20-service b/update-motd.d/20-service index 6823052..2a7870c 100755 --- a/update-motd.d/20-service +++ b/update-motd.d/20-service @@ -107,6 +107,13 @@ if [ "$(command -v ethercalc)" ]; then printf '%b' "\\n${MSG}" fi ### ]]] +### IF [[[ +if [ "$(command -v gitea)" ]; then + MSG=$(process_info "gitea" '') + MSG=$(service_info "3000" "${MSG}") + printf '%b' "\\n${MSG}" +fi +### ]]] ### IF GOGS [[[ if [ "$(command -v gogs)" ]; then MSG=$(process_info "gogs" '')