mirror of
https://github.com/YunoHost-Apps/etherpad_mypads_ynh.git
synced 2024-09-03 18:36:09 +02:00
Add specific user to logrotate
This commit is contained in:
parent
7cc28ea31f
commit
e6f5443356
2 changed files with 2 additions and 2 deletions
|
@ -154,7 +154,7 @@ touch $install_log
|
|||
chown $app -R /var/log/$app
|
||||
|
||||
# Setup logrotate
|
||||
ynh_use_logrotate
|
||||
ynh_use_logrotate --specific_user=$app/$app
|
||||
|
||||
#=================================================
|
||||
# INSTALL ETHERPAD
|
||||
|
|
|
@ -372,7 +372,7 @@ ynh_add_fail2ban_config --logpath="/var/log/nginx/$domain-access.log" --failrege
|
|||
ynh_script_progression --message="Upgrading logrotate configuration..."
|
||||
|
||||
# Use logrotate to manage app-specific logfile(s)
|
||||
ynh_use_logrotate --non-append
|
||||
ynh_use_logrotate --non-append --specific_user=$app/$app
|
||||
|
||||
#=================================================
|
||||
# SETUP SYSTEMD
|
||||
|
|
Loading…
Add table
Reference in a new issue