[fix] install

This commit is contained in:
Rafi59 2018-05-03 12:36:32 +02:00 committed by GitHub
parent 05de69f723
commit 6476e9b647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 6 deletions

View File

@ -49,6 +49,13 @@ ynh_app_setting_set $app web_port $port
# STANDARD MODIFICATIONS
#=================================================
# Configure init script
ynh_add_systemd_config
# Modify Nginx configuration file and copy it to Nginx conf directory
config_nginx
# Initialize database and store mysql password for upgrade
ynh_mysql_create_db "$dbname" "$dbuser" "$dbpass"
@ -73,12 +80,6 @@ mv gitea-1.3.3-linux-amd64 gitea
# Configure gogs with app.ini file
config_gitea
# Configure init script
ynh_add_systemd_config
# Modify Nginx configuration file and copy it to Nginx conf directory
config_nginx
# Start gogs for building mysql tables
systemctl start "$app".service