diff --git a/manifest.toml b/manifest.toml index cf356f9..a8027dd 100644 --- a/manifest.toml +++ b/manifest.toml @@ -20,8 +20,11 @@ code = "https://github.com/gogs/gogs" yunohost = ">= 11.2" architectures = "all" multi_instance = true + ldap = true + sso = true + disk = "50M" ram.build = "50M" ram.runtime = "50M" diff --git a/scripts/backup b/scripts/backup index 8d7899c..cf33546 100644 --- a/scripts/backup +++ b/scripts/backup @@ -32,22 +32,10 @@ ynh_backup --src_path="$data_dir" --is_big ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" -#================================================= -# BACKUP LOGROTATE -#================================================= - ynh_backup --src_path="/etc/logrotate.d/$app" -#================================================= -# BACKUP SYSTEMD -#================================================= - ynh_backup --src_path="/etc/systemd/system/$app.service" -#================================================= -# BACKUP VARIOUS FILES -#================================================= - ynh_backup --src_path="/var/log/$app" #================================================= diff --git a/scripts/install b/scripts/install index 5c74dba..c1e0cd6 100644 --- a/scripts/install +++ b/scripts/install @@ -42,12 +42,12 @@ else url="$domain${path%/}" fi -ynh_add_config --template="../conf/app.ini" --destination="$install_dir/custom/conf/app.ini" +ynh_add_config --template="app.ini" --destination="$install_dir/custom/conf/app.ini" chmod 400 "$install_dir/custom/conf/app.ini" chown $app:$app "$install_dir/custom/conf/app.ini" -ynh_add_config --template="../conf/ldap.conf" --destination="$install_dir/custom/conf/auth.d/ldap.conf" +ynh_add_config --template="ldap.conf" --destination="$install_dir/custom/conf/auth.d/ldap.conf" #================================================= # SETUP SYSTEMD diff --git a/scripts/upgrade b/scripts/upgrade index b7ddd1d..0463990 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,12 +9,6 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# CHECK VERSION -#================================================= - -upgrade_type=$(ynh_check_app_version_changed) - #================================================= # STANDARD UPGRADE STEPS #=================================================