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"