1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00
This commit is contained in:
Tagada 2023-06-01 14:44:55 +02:00
parent eab4d17505
commit 60f85c680e
3 changed files with 6 additions and 9 deletions

View file

@ -122,9 +122,8 @@ yunohost service add "$app-streaming" --description="$app streaming service"
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
ynh_use_logrotate --logfile=/var/log/__APP__/__APP__-sidekiq.log
ynh_use_logrotate --logfile=/var/log/__APP__/__APP__-streaming.log
ynh_use_logrotate --logfile=/var/log/__APP__/__APP__-web.log
mkdir -p "/var/log/$app"
ynh_use_logrotate
#=================================================
# APP INITIAL CONFIGURATION

View file

@ -78,9 +78,8 @@ yunohost service add "$app-streaming" --description="$app streaming service"
# Other various files...
ynh_use_logrotate --logfile=/var/log/__APP__/__APP__-sidekiq.log
ynh_use_logrotate --logfile=/var/log/__APP__/__APP__-streaming.log
ynh_use_logrotate --logfile=/var/log/__APP__/__APP__-web.log
mkdir -p "/var/log/$app"
ynh_use_logrotate
ynh_restore_file --origin_path="/etc/cron.d/$app"

View file

@ -140,9 +140,8 @@ ynh_add_systemd_config
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
ynh_use_logrotate --logfile=/var/log/__APP__/__APP__-sidekiq.log
ynh_use_logrotate --logfile=/var/log/__APP__/__APP__-streaming.log
ynh_use_logrotate --logfile=/var/log/__APP__/__APP__-web.log
mkdir -p "/var/log/$app"
ynh_use_logrotate
#=================================================
# RECONFIGURE THE APP (UPDATE CONF, APPLY MIGRATIONS...)