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

minor correction in restore

This commit is contained in:
Chris Vogel 2024-04-25 12:47:53 +02:00
parent a53b318181
commit a757bf1243

View file

@ -58,9 +58,9 @@ mkdir -p $data_dir
ynh_script_progression --message="Restoring log directory and logfiles..." --weight=1
ynh_restore_file --origin_path="/var/log/$app" --not_mandatory
mkdir -p -m755 "/var/log/$app"
touch "/var/log/$app/$app"
touch "/var/log/$app/$app.log"
# logfile contains possibly the secret setup URL
chmod 640 "/var/log/$app/$app"
chmod 640 "/var/log/$app/$app.log"
# RESTORE FAIL2BAN CONFIGURATION
ynh_script_progression --message="Restoring the Fail2Ban configuration..." --weight=2