[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUDs
. -> [Folder]  General
. . -> [Subject]  Startup Not Working?!?

Startup Not Working?!?

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


Posted by Zer0   (10 posts)  [Biography] bio
Date Mon 23 Dec 2019 10:24 PM (UTC)
Message
For some reason when I run this Startup script, all I see is Sleep 2 and ./Startup not the mud exe.


#! /bin/csh -f
# Written by Furey.
# With additions from Tony.

# Set the port number.
set port = 5353
if ( "$1" != "" ) set port="$1"

# Change to area directory.
# autokill 60 >> ../area/autokill.txt &

# Set limits.
#nohup
#nice
#limit stack 1024k
limit coredumpsize 8128k
limit filesize 16256k
if ( -e shutdown.txt ) rm -f shutdown.txt

while ( 1 )
    # If you want to have logs in a different directory,
    #   change the 'set logfile' line to reflect the directory name.
    set index = 1000
    while ( 1 )
	set logfile = ../log/$index.log
	if ( ! -e $logfile ) break
	@ index++
    end

    # Run merc.
    cd ../src
    cp reloaded ../area    
    cd ../area
    ./reloaded $port >&! $logfile

    # Restart, giving old connections a chance to die.
    if ( -e shutdown.txt ) then
	rm -f shutdown.txt
	exit 0
    endif
    sleep 2
end
[Go to top] top

Posted by Nick Gammon   Australia  (22,988 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Tue 24 Dec 2019 05:23 AM (UTC)
Message
Can you copy and paste here the output that you see?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Zer0   (10 posts)  [Biography] bio
Date Reply #2 on Tue 24 Dec 2019 06:02 AM (UTC)

Amended on Tue 24 Dec 2019 06:09 AM (UTC) by Zer0

Message
N/m I found my issues, I was missing a file.
[Go to top] 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.


8,528 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]