1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/miniflux_ynh.git synced 2024-09-03 19:45:58 +02:00

Merge pull request #40 from YunoHost-Apps/testing

Testing
This commit is contained in:
eric_G 2023-12-14 10:01:39 +01:00 committed by GitHub
commit 10eca65058
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 18 additions and 24 deletions

View file

@ -16,9 +16,9 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
## Overview ## Overview
Minimalist and opinionated RSS feed reader Minimalist and opinionated RSS feed reader.
**Shipped version:** 2.0.50~ynh1 **Shipped version:** 2.0.51~ynh1
## Screenshots ## Screenshots

View file

@ -16,9 +16,9 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
## Vue densemble ## Vue densemble
Minimalist and opinionated RSS feed reader Lecteur de flux RSS minimaliste.
**Version incluse :** 2.0.50~ynh1 **Version incluse :** 2.0.51~ynh1
## Captures décran ## Captures décran

View file

@ -1 +1 @@
Minimalist and opinionated RSS feed reader Minimalist and opinionated RSS feed reader.

1
doc/DESCRIPTION_fr.md Normal file
View file

@ -0,0 +1 @@
Lecteur de flux RSS minimaliste.

View file

@ -5,7 +5,7 @@ name = "Miniflux"
description.en = "Minimalist and opinionated RSS feed reader" description.en = "Minimalist and opinionated RSS feed reader"
description.fr = "Agrégateur de flux RSS minimaliste" description.fr = "Agrégateur de flux RSS minimaliste"
version = "2.0.50~ynh1" version = "2.0.51~ynh1"
maintainers = ["eric_G"] maintainers = ["eric_G"]
@ -56,12 +56,12 @@ ram.runtime = "50M"
extract = false extract = false
rename = "miniflux" rename = "miniflux"
arm64.url = "https://github.com/miniflux/v2/releases/download/2.0.50/miniflux-linux-arm64" arm64.url = "https://github.com/miniflux/v2/releases/download/2.0.51/miniflux-linux-arm64"
arm64.sha256 = "82d39a6e3664f4463e97031bfbe1c8ac8b3f0fbf052c7a760b545437a38d64bd" arm64.sha256 = "01344c8e613aa724361ccbc1a59ff27a294f427c1818a849deceaded296ce3ae"
amd64.url = "https://github.com/miniflux/v2/releases/download/2.0.50/miniflux-linux-amd64" amd64.url = "https://github.com/miniflux/v2/releases/download/2.0.51/miniflux-linux-amd64"
amd64.sha256 = "4a4de706237500c11226e629ac9f3c8b5200a88d07d48cf85bac72b232f07f66" amd64.sha256 = "f2b73b99705f3deeb213693d2f6e98d728ced37b57ed35e170ce199954ff661c"
armhf.url = "https://github.com/miniflux/v2/releases/download/2.0.50/miniflux-linux-armv7" armhf.url = "https://github.com/miniflux/v2/releases/download/2.0.51/miniflux-linux-armv7"
armhf.sha256 = "61b11efe9fbb85449ec158b904383e746cda0fb82947a324e0c3a285e78f393f" armhf.sha256 = "ec92c2030be5a0ff101882f8fa3e79c7b28a0dcf5941b2479d7e9bd62b26141c"
autoupdate.strategy = "latest_github_release" autoupdate.strategy = "latest_github_release"
autoupdate.asset.amd64 = "^miniflux-linux-amd64$" autoupdate.asset.amd64 = "^miniflux-linux-amd64$"
autoupdate.asset.arm64 = "^miniflux-linux-arm64$" autoupdate.asset.arm64 = "^miniflux-linux-arm64$"

View file

@ -32,15 +32,15 @@ ynh_script_progression --message="Setting up source files..." --weight=1
ynh_setup_source --dest_dir="$install_dir" ynh_setup_source --dest_dir="$install_dir"
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chmod +x "$install_dir/miniflux"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
chmod +x "$install_dir/miniflux"
#================================================= #=================================================
# ADD A CONFIGURATION # ADD A CONFIGURATION
#================================================= #=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1 ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/miniflux.conf" --destination="$install_dir/$app.conf" ynh_add_config --template="miniflux.conf" --destination="$install_dir/$app.conf"
chmod 600 "$install_dir/$app.conf" chmod 600 "$install_dir/$app.conf"
chown $app "$install_dir/$app.conf" chown $app "$install_dir/$app.conf"

View file

@ -39,10 +39,10 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_restore_file --origin_path="/etc/systemd/system/$app.service" ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable $app.service --quiet systemctl enable $app.service --quiet
yunohost service add $app --description="Minimalist feed reader" --log="/var/log/$app/$app.log"
ynh_restore_file --origin_path="/etc/logrotate.d/$app" ynh_restore_file --origin_path="/etc/logrotate.d/$app"
yunohost service add $app --description="Minimalist feed reader" --log="/var/log/$app/$app.log"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE
#================================================= #=================================================
@ -50,13 +50,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action=start --log_path=systemd ynh_systemd_action --service_name=$app --action=start --log_path=systemd
#=================================================
# GENERIC FINALIZATION
#=================================================
# RELOAD NGINX
#=================================================
ynh_script_progression --message="Reloading NGINX web server..." --weight=1
ynh_systemd_action --service_name=nginx --action=reload ynh_systemd_action --service_name=nginx --action=reload
#================================================= #=================================================

View file

@ -37,8 +37,8 @@ then
fi fi
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chmod +x "$install_dir/miniflux"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
chmod +x "$install_dir/miniflux"
#================================================= #=================================================
# REAPPLY SYSTEM CONFIGURATIONS # REAPPLY SYSTEM CONFIGURATIONS