[fix] Install

This commit is contained in:
Rafi59 2018-05-10 16:31:54 +02:00 committed by GitHub
parent 8ec8a35cb3
commit 4233531503
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,15 +71,15 @@ ynh_add_systemd_config
# Modify Nginx configuration file and copy it to Nginx conf directory # Modify Nginx configuration file and copy it to Nginx conf directory
config_nginx config_nginx
# Configure gitea with app.ini file
config_gitea
# Install gitea # Install gitea
cp -a ../conf/app.ini $final_path cp -a ../conf/app.ini $final_path
cd $final_path cd $final_path
wget https://github.com/go-gitea/gitea/releases/download/v1.3.3/gitea-1.3.3-linux-amd64 wget https://github.com/go-gitea/gitea/releases/download/v1.3.3/gitea-1.3.3-linux-amd64
mv gitea-1.3.3-linux-amd64 gitea mv gitea-1.3.3-linux-amd64 gitea
# Configure gitea with app.ini file
config_gitea
# Start gitea for building mysql tables # Start gitea for building mysql tables
systemctl start "$app".service systemctl start "$app".service