11 lines
295 B
Bash
Executable File
11 lines
295 B
Bash
Executable File
#!/bin/sh
|
|
if (ps augxw | grep -i uworld | grep -v grep > /dev/null)
|
|
then
|
|
sleep 0
|
|
else
|
|
echo "* Uworld server started at" >> /ecn/ecnstf0/danny/dvmitche/uworld/uworldcronlog
|
|
date >> /ecn/ecnstf0/danny/dvmitche/uworld/uworldcronlog
|
|
/ecn/ecnstf0/danny/dvmitche/uworld/uworld > /dev/null &
|
|
exit 0
|
|
fi
|