serverstart

imcserver/src/serverstart · 302 B

From the archive imc2_libertyserver_sv21.tgz

Download the archive   « Back to the archive contents

#! /bin/csh -f

# Set limits.
if ( -e shutdown ) rm -f shutdown
limit coredumpsize unlimited
limit stacksize unlimited

while ( 1 )
    # Run IMC2 Server.
    ./server

    # Restart, giving old connections a chance to die.
    if ( -e shutdown ) then
	rm -f shutdown
	exit 0
    endif
    sleep 5
end

Site Stats

Snippets: 1791
Codebases: 571