diff --git a/giteainstall b/giteainstall index 23eccf7..94ea915 100755 --- a/giteainstall +++ b/giteainstall @@ -19,7 +19,7 @@ if ss -tuln | grep -q ":${giteaport}\b"; then listener=$(ss -tulpn 2>/dev/null | awk -v port=":${giteaport}\\b" '$0 ~ port && /LISTEN/ {print $7}' | sed 's/users:(("//; s/",.*//') if [[ "$listener" == gitea* ]]; then printf "Detected a running Gitea-related process: %s\n" "$listener" - printf "It looks like another Gitea multi-instance installation has not yet completed.\n" + printf "It appears another Gitea multi-instance installation has not yet completed.\n" printf "Please finish its web installer and run its postinstall script before continuing.\n\n" elif [[ -n "$listener" ]]; then printf "Process using port %s : %s\n" "$giteaport" "$listener" @@ -33,7 +33,7 @@ if ss -tuln | grep -q ":${giteaport}\b"; then fi # -# Check if required services are running or not +# Check if required services are running # for svc in nginx mariadb; do systemctl is-active --quiet "$svc" || { printf "\n%s is not running, cannot continue...\n\n" "${svc^}" ; exit 1 ; }; done @@ -287,7 +287,7 @@ EOF systemctl daemon-reload ; systemctl enable "$giteauser" ; systemctl start "$giteauser" # -# Create post-install script +# Create postinstall script # postscript="/etc/$giteauser/gitea-postinstall" cat > "$postscript" <