From 8ec8a35cb3b67331a27168932a9bf48e26c75923 Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Wed, 9 May 2018 17:59:23 +0200 Subject: [PATCH] Replace gogs by gitea --- scripts/install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 8738cc0..c1b8deb 100644 --- a/scripts/install +++ b/scripts/install @@ -71,16 +71,16 @@ ynh_add_systemd_config # Modify Nginx configuration file and copy it to Nginx conf directory config_nginx -# Install Gogs +# Install gitea cp -a ../conf/app.ini $final_path cd $final_path 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 -# Configure gogs with app.ini file +# Configure gitea with app.ini file config_gitea -# Start gogs for building mysql tables +# Start gitea for building mysql tables systemctl start "$app".service # Set permissions @@ -107,11 +107,11 @@ then ynh_app_setting_set $app unprotected_uris "/" fi -# Add Gogs to YunoHost's monitored services +# Add gitea to YunoHost's monitored services yunohost service add "$app" --log "/var/log/$app/$app.log" # Configure logrotate ynh_use_logrotate "/var/log/$app" # Reload services -ynh_check_starting "INFO] Listen: http://0.0.0.0:" "/var/log/$app/gogs.log" +ynh_check_starting "INFO] Listen: http://0.0.0.0:" "/var/log/$app/gitea.log"