1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/spacedeck_ynh.git synced 2024-09-03 20:26:14 +02:00

Fix restore

This commit is contained in:
yalh76 2022-02-22 22:58:05 +01:00
parent dfd624f75f
commit 686998a2b1
2 changed files with 4 additions and 0 deletions

View file

@ -5,6 +5,7 @@
#=================================================
NODEJS_VERSION=10
# dependencies used by the app
pkg_dependencies="graphicsmagick ffmpeg ghostscript"

View file

@ -106,6 +106,9 @@ systemctl enable $app.service --quiet
#=================================================
ynh_script_progression --message="Restoring the logrotate configuration..." --time --weight=1
# Use logrotate to manage application logfile(s)
ynh_use_logrotate
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
#=================================================