From ec171a291ef6f12f9cea09ea08081acd968d4f9b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 17 Jan 2021 16:07:51 +0100 Subject: [PATCH] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 5ff9d20..b786bf0 100644 --- a/scripts/install +++ b/scripts/install @@ -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_use_logrotate +ynh_use_logrotate --logfile "/var/log/$app" #================================================= # GENERIC FINALIZATION @@ -178,7 +178,7 @@ ynh_use_logrotate # Set permissions to app files 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 #=================================================