Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 12 lines (10 sloc) 0.327 kb
# change the process name to whatever you want to keep alive:
PROCESS="nginx"
if ps -u curle | grep $PROCESS > /dev/null
then
echo "$PROCESS is running"
else
echo "$PROCESS is NOT running"
# change the next line to the command you want to run for restarting:
/home/curle/local/sbin/nginx
fi
Jump to Line
Something went wrong with that request. Please try again.