mirror of
https://github.com/YunoHost-Apps/funkwhale_ynh.git
synced 2024-09-03 18:36:24 +02:00
Update upgrade
This commit is contained in:
parent
d857467a12
commit
8bb50d4fd7
1 changed files with 12 additions and 0 deletions
|
@ -112,6 +112,18 @@ chmod 750 "$install_dir"
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:$app "$install_dir"
|
chown -R $app:$app "$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
|
||||||
|
touch /var/log/$app/${app}-server.log
|
||||||
|
touch /var/log/$app/${app}-worker.log
|
||||||
|
touch /var/log/$app/${app}-beat.log
|
||||||
|
chown -R $app:$app /var/log/$app/
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue