mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
wip
This commit is contained in:
parent
eab4d17505
commit
60f85c680e
3 changed files with 6 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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...)
|
||||
|
|
Loading…
Add table
Reference in a new issue