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

fix logrotate rights

https://github.com/YunoHost-Apps/shaarli_ynh/issues/83
This commit is contained in:
lapineige 2023-05-11 09:56:37 +02:00 committed by GitHub
parent da8054894b
commit 0e9dd2e249
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ ynh_script_progression --message="Configuring log rotation..."
# Use logrotate to manage application logfile(s) # Use logrotate to manage application logfile(s)
touch "$install_dir/data/log.txt" 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" chown $app:www-data "$install_dir/data/log.txt"
#================================================= #=================================================