mirror of
https://github.com/YunoHost-Apps/xwiki_ynh.git
synced 2024-09-03 20:36:11 +02:00
Add logrotate
This commit is contained in:
parent
71c34a88e5
commit
cd216399c7
3 changed files with 6 additions and 0 deletions
|
@ -42,6 +42,8 @@ ynh_add_systemd_config
|
|||
|
||||
yunohost service add "$app" --description=XWiki --log="/var/log/$app/$app.log"
|
||||
|
||||
ynh_use_logrotate --logfile "/var/log/$app"
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
#=================================================
|
||||
|
|
|
@ -39,6 +39,8 @@ systemctl enable $app.service --quiet
|
|||
|
||||
yunohost service add $app --description=XWiki --log="/var/log/$app/$app.log"
|
||||
|
||||
ynh_use_logrotate --logfile "/var/log/$app"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
|
|
|
@ -46,6 +46,8 @@ ynh_add_systemd_config
|
|||
|
||||
yunohost service add "$app" --description=XWiki --log="/var/log/$app/$app.log"
|
||||
|
||||
ynh_use_logrotate --logfile "/var/log/$app"
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue