1
0
Fork 0
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:
Josué Tille 2023-12-13 09:18:45 +01:00
parent 71c34a88e5
commit cd216399c7
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
3 changed files with 6 additions and 0 deletions

View file

@ -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
#=================================================

View file

@ -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
#=================================================

View file

@ -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
#=================================================