Where would you execute this command?When you start the server, run the command:
Code:while true; do ./tfs; done;
Yes, open a terminal and copy paste that in. Make sure you are in the forgottenserver directory.Where would you execute this command?
In the console?
Sorry. xD
Where would you execute this command?
In the console?
Sorry. xD
touch restarter.sh
while true; do ./tfs; done;
chmod +x restarter.sh
./restarter.sh
ulimit -c unlimited
echo "/tmp/cores/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
#!/bin/bash
ulimit -c unlimited
while true; do ./tfs --log-file "output.txt" "error.txt"; done
I cant run that on Ubuntu 20.04or you can create an archive called "restarter.sh" and put this code inside:
Code:#!/bin/bash ulimit -c unlimited while true; do ./tfs --log-file "output.txt" "error.txt"; done
then before starting your server write this command on screen (open a screen before ofc): ./restarter.sh
Ps. maybe need a especial permission before, so write chmod 777 restarter.sh
What's the output you get?I cant run that on Ubuntu 20.04
I do not undestandWhat's the output you get?
I fix that with thisWhy cannot you run that? Errors?
sed -i -e 's/\r$//' NAME-OF-FILE.sh