Jump to content
  • 0

Managing a second server on the same machine


Question

Posted (edited)

So I was able to setup a second channel as per BrianL's guide on the old eAthena boards, and it works great! However, I've come across an issue where if I run the command ./athena-start start, stop, or restart, it restarts both channels; my goal is to be able to work on the second server on the same machine while utilizing the ease of access two channels provides. Any help would be appreciated; Brian, I hope you see this!

Edited by Via

4 answers to this question

Recommended Posts

Posted

I use these stop and restart scripts instead:

stop.sh

restart.sh

They take into account the current directory where the script was run from and only stop servers that are running from that directory. (Ex: if I run /home/brian/server1/stop.sh it will only stop the servers running in /server1. Servers running in /home/brian/server2/ will not be affected.

  • Upvote 1
Posted (edited)

I use these stop and restart scripts instead:

stop.sh

restart.sh

They take into account the current directory where the script was run from and only stop servers that are running from that directory. (Ex: if I run /home/brian/server1/stop.sh it will only stop the servers running in /server1. Servers running in /home/brian/server2/ will not be affected.

For some reason, running those scripts doesn't stop the server, though it tells me it did. I'm using this athena-script to launch my servers, and the scripts your provided didn't kill those processes. Should I tweak my athena-script with the scripts you gave me? What am I missing?

Edited by Via
Posted

hmm looks like the first time you will have to manually stop the servers.

After that, if you use restart.sh to start the servers, then stop.sh will stop them.

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...