diff --git a/conf/systemd.service b/conf/systemd.service index 3ca4c0f..bbb1e62 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,5 +1,5 @@ [Unit] -Description=Small description of the service +Description=A tiny little drawing app After=network.target [Service] diff --git a/scripts/restore b/scripts/restore index 6960aff..76a9190 100755 --- a/scripts/restore +++ b/scripts/restore @@ -109,6 +109,13 @@ ynh_script_progression --message="Restoring the logrotate configuration..." --we ynh_restore_file --origin_path="/etc/logrotate.d/$app" +#================================================= +# RESTORE THE LOGS +#================================================= +ynh_script_progression --message="Restoring the logs..." --weight=1 + +ynh_restore_file --origin_path="/var/log/$app/$app.log" + #================================================= # INTEGRATE SERVICE IN YUNOHOST #=================================================