1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lstu_ynh.git synced 2024-09-03 19:36:12 +02:00

Add log file in restore script

This commit is contained in:
Kayou 2019-02-15 09:27:04 +01:00 committed by GitHub
parent 1e75298003
commit 3aed535189
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ ynh_systemd_action -n $app -a start -l "Server available at" -p "systemd"
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
yunohost service add $app --log "/var/log/$app.log"
yunohost service add $app --log "/var/log/$app.log" --log "/var/www/$app/log/production.log"
#=================================================
# RESTORE THE LOGROTATE CONFIGURATION