restart

tinymuck/restart · 219 B

From the archive tinymuck-1.2-r10.tar.gz

Download the archive   « Back to the archive contents

#!/bin/csh -f
if $1 == "" then
	echo 'Usage: restart dbase-prefix'
	exit
endif
mv $1 $1.old
if(-r $1.new) then
	mv $1.new $1
else
	cp $1.old $1
endif

echo RESTARTED AT `date` >> $1.log
(netmuck $1 $1.new >>& $1.log &)

Site Stats

Snippets: 1791
Codebases: 571