/etc/init.d/presto status > /dev/null 2>&1
if [[ $? != 3 ]]; then
    echo "Please stop the Presto service before erasing RPM"
    exit 1
fi
