From 0e9dd2e24930837116a2b2d8bf39bf9008006db2 Mon Sep 17 00:00:00 2001 From: lapineige Date: Thu, 11 May 2023 09:56:37 +0200 Subject: [PATCH] fix logrotate rights https://github.com/YunoHost-Apps/shaarli_ynh/issues/83 --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index ef9b0e4..682aff8 100644 --- a/scripts/install +++ b/scripts/install @@ -77,7 +77,7 @@ ynh_script_progression --message="Configuring log rotation..." # Use logrotate to manage application logfile(s) touch "$install_dir/data/log.txt" -ynh_use_logrotate "$install_dir/data/log.txt" +ynh_use_logrotate "$install_dir/data/log.txt" --specific_user=$app chown $app:www-data "$install_dir/data/log.txt" #=================================================