mirror of
https://github.com/YunoHost-Apps/coturn_ynh.git
synced 2024-09-03 18:16:32 +02:00
Update install
This commit is contained in:
parent
4197b58b7b
commit
ec171a291e
1 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ ynh_replace_string --match_string="__DATA_PATH__" --replace_string=$data_path --
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Configuring log rotation..." --weight=1
|
ynh_script_progression --message="Configuring log rotation..." --weight=1
|
||||||
|
|
||||||
ynh_use_logrotate
|
ynh_use_logrotate --logfile "/var/log/$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
@ -178,7 +178,7 @@ ynh_use_logrotate
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chown root: -R $data_path
|
chown root: -R $data_path
|
||||||
chown -R root /var/log/$app
|
chown -R turnserver:root /var/log/$app
|
||||||
setfacl -R -m user:turnserver:rwX /var/log/$app
|
setfacl -R -m user:turnserver:rwX /var/log/$app
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue