diff --git a/scripts/_common.sh b/scripts/_common.sh index 083d09f..4721e72 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -58,7 +58,7 @@ set_permission() { chown -R $app:$app "/var/log/$app" chmod u=rwX,g=rX,o= "$final_path" - chmod u=rwx,g=rx,o= "$final_path/gitea" + chmod u=rwx,g=rx,o= "$final_path/forgejo" chmod u=rw,g=r,o= "$final_path/custom/conf/app.ini" chmod u=rwX,g=rX,o= "$datadir" chmod u=rwX,g=rX,o= "/var/log/$app" diff --git a/scripts/install b/scripts/install index d246cd4..b8f17d3 100644 --- a/scripts/install +++ b/scripts/install @@ -81,7 +81,7 @@ ynh_add_systemd_config ynh_script_progression --message="Configuring nginx..." --weight=1 config_nginx -# Configure gitea with app.ini file +# Configure forgejo with app.ini file ynh_script_progression --message="Configuring application, step 1/2..." config_forgejo @@ -96,7 +96,7 @@ set_permission ynh_script_progression --message="Configuring application, step 2/2..." -# Start gitea for building mysql tables +# Start forgejo for building mysql tables systemctl start "$app".service # Wait untill login_source mysql table is created