1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/sogo_ynh.git synced 2024-09-03 20:26:07 +02:00

Update restore

This commit is contained in:
ericgaspar 2022-01-15 13:11:40 +01:00
parent e526532911
commit 22560178a0

View file

@ -69,9 +69,12 @@ ynh_replace_string --match_string "ENABLED=0" --replace_string "ENABLED=1" --tar
#================================================= #=================================================
# SECURE FILES AND DIRECTORIES # SECURE FILES AND DIRECTORIES
#================================================= #=================================================
ynh_script_progression --message="Protecting directory..." ynh_script_progression --message="Protecting directory..." --weight=1
set_permission chown -R $app:$app /etc/$app
chmod u=rwX,g=rX,o= -R /etc/$app
chown -R $app:$app /var/log/$app
chmod u=rwX,g=rX,o= -R /var/log/$app
#================================================= #=================================================
# RESTORE THE LOGROTATE CONFIGURATION # RESTORE THE LOGROTATE CONFIGURATION