mirror of
https://github.com/YunoHost-Apps/miniflux_ynh.git
synced 2024-09-03 19:45:58 +02:00
commit
10eca65058
8 changed files with 18 additions and 24 deletions
|
@ -16,9 +16,9 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
## 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
|
||||
|
||||
|
|
|
@ -16,9 +16,9 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
|||
|
||||
## Vue d’ensemble
|
||||
|
||||
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
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Minimalist and opinionated RSS feed reader
|
||||
Minimalist and opinionated RSS feed reader.
|
1
doc/DESCRIPTION_fr.md
Normal file
1
doc/DESCRIPTION_fr.md
Normal file
|
@ -0,0 +1 @@
|
|||
Lecteur de flux RSS minimaliste.
|
|
@ -5,7 +5,7 @@ name = "Miniflux"
|
|||
description.en = "Minimalist and opinionated RSS feed reader"
|
||||
description.fr = "Agrégateur de flux RSS minimaliste"
|
||||
|
||||
version = "2.0.50~ynh1"
|
||||
version = "2.0.51~ynh1"
|
||||
|
||||
maintainers = ["eric_G"]
|
||||
|
||||
|
@ -56,12 +56,12 @@ ram.runtime = "50M"
|
|||
extract = false
|
||||
rename = "miniflux"
|
||||
|
||||
arm64.url = "https://github.com/miniflux/v2/releases/download/2.0.50/miniflux-linux-arm64"
|
||||
arm64.sha256 = "82d39a6e3664f4463e97031bfbe1c8ac8b3f0fbf052c7a760b545437a38d64bd"
|
||||
amd64.url = "https://github.com/miniflux/v2/releases/download/2.0.50/miniflux-linux-amd64"
|
||||
amd64.sha256 = "4a4de706237500c11226e629ac9f3c8b5200a88d07d48cf85bac72b232f07f66"
|
||||
armhf.url = "https://github.com/miniflux/v2/releases/download/2.0.50/miniflux-linux-armv7"
|
||||
armhf.sha256 = "61b11efe9fbb85449ec158b904383e746cda0fb82947a324e0c3a285e78f393f"
|
||||
arm64.url = "https://github.com/miniflux/v2/releases/download/2.0.51/miniflux-linux-arm64"
|
||||
arm64.sha256 = "01344c8e613aa724361ccbc1a59ff27a294f427c1818a849deceaded296ce3ae"
|
||||
amd64.url = "https://github.com/miniflux/v2/releases/download/2.0.51/miniflux-linux-amd64"
|
||||
amd64.sha256 = "f2b73b99705f3deeb213693d2f6e98d728ced37b57ed35e170ce199954ff661c"
|
||||
armhf.url = "https://github.com/miniflux/v2/releases/download/2.0.51/miniflux-linux-armv7"
|
||||
armhf.sha256 = "ec92c2030be5a0ff101882f8fa3e79c7b28a0dcf5941b2479d7e9bd62b26141c"
|
||||
autoupdate.strategy = "latest_github_release"
|
||||
autoupdate.asset.amd64 = "^miniflux-linux-amd64$"
|
||||
autoupdate.asset.arm64 = "^miniflux-linux-arm64$"
|
||||
|
|
|
@ -32,15 +32,15 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
|||
ynh_setup_source --dest_dir="$install_dir"
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chmod +x "$install_dir/miniflux"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
chmod +x "$install_dir/miniflux"
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
#=================================================
|
||||
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"
|
||||
chown $app "$install_dir/$app.conf"
|
||||
|
|
|
@ -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"
|
||||
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"
|
||||
|
||||
yunohost service add $app --description="Minimalist feed reader" --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# 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
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
ynh_script_progression --message="Reloading NGINX web server..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -37,8 +37,8 @@ then
|
|||
fi
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chmod +x "$install_dir/miniflux"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
chmod +x "$install_dir/miniflux"
|
||||
|
||||
#=================================================
|
||||
# REAPPLY SYSTEM CONFIGURATIONS
|
||||
|
|
Loading…
Reference in a new issue