You've already forked gitea-ubuntu-multi
polish
This commit is contained in:
@@ -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"
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user