Jump to content
MMO Society
Sign in to follow this  
Azayaka

Automate the restart for your realm.

Recommended Posts

Posted (edited)

Doing my part to help keep information alive. 

 

AUTOMATIC REALM RE-STARTER

 

Save as restart.bat

@ECHO OFF 
CLS 
ECHO WOWSERVER Started %time:~0,5% %date:~1% 
:SERVERLOOP 
worldserver.exe
ECHO WOWSERVER Restarted %time:~0,5% %date:~1% 
ECHO. 
GOTO SERVERLOOP 
:END

 

Place in the same folder as your worldserver.exe

THIS IS FOR WINDOWS

 

Now, for Linux:

 

#!/bin/bash

while :
do
./worldserver
sleep 20
done

"./worldserver" may need to be altered if you're going to place your worldserver restarter in a different location. Do NOT forget to save this as a shell(.sh)

 

 

Edited by Azayaka

Share this post


Link to post
Share on other sites

For Ubuntu / Linux, search on the internet for something like "how to make a service linux" etc.

When it's a service it should auto restart.

Highly recommended to link into something like cronjobs etc on Linux, it's very useable if you know how to use it.

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...