1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flohmarkt_ynh.git synced 2024-09-03 18:36:30 +02:00

linter correction, ynh6

This commit is contained in:
Chris Vogel 2024-05-30 19:32:23 +02:00
parent 7abcb001d1
commit 6c6e6be731
4 changed files with 3 additions and 2 deletions

View file

@ -7,7 +7,7 @@ name = "flohmarkt"
description.en = "A decentral federated small ads platform"
description.fr = "Plateforme de petites annonces fédérées décentralisées"
version = "0.0~ynh5"
version = "0.0~ynh6"
maintainers = ["Chris Vogel"]

View file

@ -546,7 +546,6 @@ flohmarkt_print_debug() {
# create symlinks containing domain and path for install, data and log directories
flohmarkt_ynh_create_symlinks() {
ynh_script_progression --message="Creating symlinks..." --weight=1
ln -s "$flohmarkt_install" "$flohmarkt_sym_install"
ln -s "$flohmarkt_data_dir" "$flohmarkt_sym_data_dir"
ln -s "$flohmarkt_log_dir" "$flohmarkt_sym_log_dir"

View file

@ -112,6 +112,7 @@ ynh_add_fail2ban_config --logpath="$flohmarkt_logfile" --failregex='INFO: +<HOST
# symlink data_dir and install_dir to make it easier to find the
# files for a certain domain/path
ynh_script_progression --message="Creating symlinks..." --weight=1
flohmarkt_ynh_create_symlinks
# start service

View file

@ -85,6 +85,7 @@ ynh_script_progression --message="Reloading NGINX web server..." --weight=1
ynh_systemd_action --service_name=nginx --action=reload
# create symlinks
ynh_script_progression --message="Creating symlinks..." --weight=1
flohmarkt_ynh_create_symlinks
ynh_script_progression --message="Restoration completed for $app" --last