mirror of
https://github.com/YunoHost-Apps/fittrackee_ynh.git
synced 2024-09-03 18:36:16 +02:00
test
This commit is contained in:
parent
ccebac3e96
commit
bf622cb48a
1 changed files with 8 additions and 8 deletions
|
@ -36,6 +36,14 @@ chmod 600 $install_dir/.env
|
|||
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
#=================================================
|
||||
# LOGROTATE
|
||||
ynh_script_progression --message="Configuring logrotate to manage application logfiles" --weight=1
|
||||
|
||||
# Use logrotate to manage application logfile(s)
|
||||
ynh_use_logrotate --specific_user=$app
|
||||
chown -R $app:www-data /var/log/$app/
|
||||
|
||||
set -a; source "$install_dir/.env"; set +a
|
||||
|
||||
#=================================================
|
||||
|
@ -99,14 +107,6 @@ ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
|
|||
yunohost service add "${app}" --description="Fittrackee main service" --log="/var/log/$app/$app.log"
|
||||
yunohost service add "${app}_workers" --description="Fittrackee task queue service" --log="var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# LOGROTATE
|
||||
ynh_script_progression --message="Configuring logrotate to manage application logfiles" --weight=1
|
||||
|
||||
# Use logrotate to manage application logfile(s)
|
||||
ynh_use_logrotate --specific_user=$app
|
||||
chown -R $app:www-data /var/log/$app/
|
||||
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
Loading…
Add table
Reference in a new issue