[go: up one dir, main page]

Menu

[0ec8fa]: / TREC / restart  Maximize  Restore  History

Download this file

10 lines (9 with data), 175 Bytes

#!/bin/sh
. ./share/dbacl/TREC/OPTIONS

if [ -d "./check-$1" ]; then
	rm -rf ./db
	cp -fpr "./check-$1" ./db
	exit 0
fi
echo "restart $1 command failed" >> ./stderr.log
exit 1