From c38bf4355c3d351d851d4b9eeb9f4364dacee00a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 1 Nov 2023 14:10:00 +0100 Subject: [PATCH] Update restore --- scripts/restore | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/restore b/scripts/restore index d03e685..6727ced 100755 --- a/scripts/restore +++ b/scripts/restore @@ -36,13 +36,11 @@ mkdir -p /var/log/$app touch /var/log/$app/$app.log chown $app -R /var/log/$app -ynh_restore_file --origin_path="/etc/systemd/system/$rustdeskrelay.service" -systemctl enable $rustdeskrelay.service --quiet +ynh_restore_file --origin_path="/etc/systemd/system/rustdeskrelay.service" +systemctl enable rustdeskrelay.service --quiet -ynh_restore_file --origin_path="/etc/systemd/system/$ --description="Rustdesk Signal Server" --log="/var/log/$app/$app.log" -.service" -systemctl enable $ --description="Rustdesk Signal Server" --log="/var/log/$app/$app.log" -.service --quiet +ynh_restore_file --origin_path="/etc/systemd/system/rustdesksignal.service" +systemctl enable rustdesksignal.service --quiet ynh_restore_file --origin_path="/etc/logrotate.d/$app"