mirror of
https://github.com/YunoHost-Apps/lutim_ynh.git
synced 2024-09-03 19:36:24 +02:00
Restore logrotate config
fix https://github.com/YunoHost-Apps/lutim_ynh/issues/15
This commit is contained in:
parent
df17dfd2c8
commit
1dcaf5ded0
1 changed files with 6 additions and 0 deletions
|
@ -108,6 +108,12 @@ sudo mkdir -p /var/log/$app/
|
|||
sudo touch /var/log/$app/production.log
|
||||
sudo chown $app: -R /var/log/$app
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE LOGROTATE CONFIGURATION
|
||||
#=================================================
|
||||
|
||||
sudo cp -a ./logrotate /etc/logrotate.d/$app
|
||||
|
||||
#=================================================
|
||||
# START LUTIM
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue