From 042773e1ba642128dc8c3c972bbc409969bf1a08 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Wed, 3 May 2023 09:54:49 +0000 Subject: [PATCH] Update upgrade_gitea --- upgrade_gitea | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/upgrade_gitea b/upgrade_gitea index 85fb37c..f2241cd 100644 --- a/upgrade_gitea +++ b/upgrade_gitea @@ -46,5 +46,12 @@ else # Start. #systemctl start gitea + echo "Please, check then start the service Gitea." + read -e -p "Start Gitea service? [Y/n] " choice + if [[ "$choice" =~ ^[yY]$ ]]; then + echo "Restarting…" + systemctl start gitea + journalctl -f -u gitea + fi fi fi