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:
parent
da8054894b
commit
0e9dd2e249
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue