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:
parent
dfd624f75f
commit
686998a2b1
2 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
#=================================================
|
||||
|
||||
NODEJS_VERSION=10
|
||||
|
||||
# dependencies used by the app
|
||||
pkg_dependencies="graphicsmagick ffmpeg ghostscript"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue