Re: [OFFTOPIC] Getting circle to restart, after a server reboot

From: Ralph (rms@TIAC.NET)
Date: 07/19/97


At 10:16 PM 7/18/97 -0700, you wrote:
>I'm trying to find a way to get my mud to rebload up, when the server
>running the mud reboots.  The root wont put the call into /etc/rc.local, so

crontab line:
*/10 * * * * ~/circle30bpl11/restart

restart:
#!/bin/sh
cd ~/circle30bpl11
if [ -z "`fuser autorun`" ]; then
    autorun &
fi
-------
Note: If your cron is smart enough not to run a cron job that is already
running you can replace the last 3 lines with: ./autorun


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST