• 0
MikZ

No such directory

Question

Good day!

How to make this work?

./login-server.sh has ./login-server

./map-server.sh has ./map-server

./char-server.sh has char-server on script, however when running it says ./login-server, ./map-server and char-server no such directory. what file should i need to run the script?

#/bin/sh
#Hi my naem is Kirt and I liek anime

ulimit -Sc unlimited

while [ 2 ] ; do
if [ -f .stopserver2 ] ; then
echo server marked down >> server-log.txt
else
echo restarting server at time at `date +"%m-%d-%H:%M-%S"`>> start-log.txt
./login-server
fi

sleep 5

done

 

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

If it can't find login- char- or map-server and manually doing ls {login,char,map}-server shows nothing then either the build failed or you forgot to build altogether.

Make sure you have the required dependencies installed and then follow the build instructions

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now