From 6476e9b64796afbc93f4f8dcc23f93d55d91bb38 Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Thu, 3 May 2018 12:36:32 +0200 Subject: [PATCH] [fix] install --- scripts/install | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index 6eaf35f..8738cc0 100644 --- a/scripts/install +++ b/scripts/install @@ -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