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:
parent
e526532911
commit
22560178a0
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue