mirror of
https://github.com/YunoHost-Apps/miniflux_ynh.git
synced 2024-09-03 19:45:58 +02:00
cleaning
This commit is contained in:
parent
44a27f12a0
commit
f8ce342f8c
5 changed files with 7 additions and 13 deletions
|
@ -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.
|
|
@ -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