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:
parent
a53b318181
commit
a757bf1243
1 changed files with 2 additions and 2 deletions
|
@ -58,9 +58,9 @@ mkdir -p $data_dir
|
||||||
ynh_script_progression --message="Restoring log directory and logfiles..." --weight=1
|
ynh_script_progression --message="Restoring log directory and logfiles..." --weight=1
|
||||||
ynh_restore_file --origin_path="/var/log/$app" --not_mandatory
|
ynh_restore_file --origin_path="/var/log/$app" --not_mandatory
|
||||||
mkdir -p -m755 "/var/log/$app"
|
mkdir -p -m755 "/var/log/$app"
|
||||||
touch "/var/log/$app/$app"
|
touch "/var/log/$app/$app.log"
|
||||||
# logfile contains possibly the secret setup URL
|
# logfile contains possibly the secret setup URL
|
||||||
chmod 640 "/var/log/$app/$app"
|
chmod 640 "/var/log/$app/$app.log"
|
||||||
|
|
||||||
# RESTORE FAIL2BAN CONFIGURATION
|
# RESTORE FAIL2BAN CONFIGURATION
|
||||||
ynh_script_progression --message="Restoring the Fail2Ban configuration..." --weight=2
|
ynh_script_progression --message="Restoring the Fail2Ban configuration..." --weight=2
|
||||||
|
|
Loading…
Add table
Reference in a new issue