• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux starting with the system

zielok

New Member
Joined
Mar 8, 2009
Messages
66
Reaction score
0
Hello,
I've got that script to start ots with the system:

Code:
#!/bin/bash
while true
do
 screen -S ots
cd ots
 ./theforgottenserver
done

it is in /etc/init.d and it has chmod +x it was added correctly to the startup: update-rc.d ot.sh multiuser 99

but after reboot ots doesn't start, even a screen is not created.
when I want to run that ot.sh file by a commond sh ot.sh - it is said:
Code:
ot.sh: line 5: ./theforgottenserver: Permission denied
ot.sh: line 4: cd: ots: No such file or directory

What might be wrong?
 
Back
Top