Linux restart script doesn't work?

sn
- in Servers
2

Hi I've made a Minecraft server and a restart script from the Internet, the problem is that it is not executed.

Another important piece of information might be that the server is running Debian Version 9.

Restart Script:
Start script:

Screenshot for errors in the console

za

Where should the reboot take place here ?

Ra

$ '\ r': Command not found.

Wrong line break, your script was probably created with a Windows editor.

Could you with

dos2unix DEIN_SCRIPT.sh