restart-cmu
tinymud-1.4.1/restart-cmu · 217 B
From the archive tinymud-1.4.1-r59.tar.gz
Download the archive « Back to the archive contents
#!/bin/csh -f mv cmu.db cmu.db.old if(-r cmu.db.new) then mv cmu.db.new cmu.db else cp cmu.db.old cmu.db endif cp netmud netmud.running echo RESTARTED AT `date` >> cmu.log exec netmud cmu.db cmu.db.new >>& cmu.log