diff --git a/giteainstall b/giteainstall index a44ac05..8c42176 100755 --- a/giteainstall +++ b/giteainstall @@ -180,7 +180,7 @@ esac # cp "$nginxsnippets/hostfiles/gitea-multi.80.conf" /etc/nginx/conf.d/"$hostname".conf sed -i -- "s/DOMAIN/$hostname/g" /etc/nginx/conf.d/"$hostname".conf -sed -i "s/GITEAPORT/3000/g" /etc/nginx/conf.d/"$hostname".conf +sed -i "s/GITEAPORT/$giteaport/g" /etc/nginx/conf.d/"$hostname".conf systemctl restart nginx # @@ -302,8 +302,15 @@ The HTTP port and more will be automatically adjusted during the postinstall ste EOF ) +# +# Print notice +# printf '%s\n' "$postnotice" printf "Postinstall script saved at: /etc/%s/gitea-postinstall\n" "$giteauser" + +# +# All done +# printf "\nAll Done...\n" #