Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ ROM ➜ Compiling the server ➜ Automatic Reboot

Automatic Reboot

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Erythnul   (22 posts)  Bio
Date Mon 19 Mar 2007 12:38 AM (UTC)
Message
Any idea on how to set up an automatic reboot for my rom.exe when it goes down due to a crash or shutdown? Im running it on Debian Linux.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Mon 19 Mar 2007 12:48 AM (UTC)
Message
Run the startup script.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Erythnul   (22 posts)  Bio
Date Reply #2 on Mon 19 Mar 2007 12:59 AM (UTC)
Message
Well...lol I guess what do you mean by that? I'd just like it so the mud will autorestart when the mud goes down when I'm not available to boot her back up.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #3 on Mon 19 Mar 2007 01:03 AM (UTC)
Message
There should be a file in your src directory called "startup"; you can run it by doing something like: nohup ./startup &

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Erythnul   (22 posts)  Bio
Date Reply #4 on Mon 19 Mar 2007 01:05 AM (UTC)
Message
Ahh... okie dokie. Now do I run startup and rom.exe together at the same time?
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #5 on Mon 19 Mar 2007 01:19 AM (UTC)
Message
No... startup takes care of starting up the game, and restarting it in case of a reboot or crash. You might want to open up the file startup in a text editor and see what it does.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


16,230 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.