oneuptime/uninstall.sh
2022-12-07 07:49:18 +00:00

20 lines
722 B
Bash
Executable File

#!/bin/bash
echo "Uninstall OneUptime. This will remove OneUptime from this server"
read -r -p "Do you want to uninstall OneUptime? [y/N] " response
if [[ "$response" =~ ^([yY][eE][sS]|[yY])+$ ]]
then
echo "OK!"
else
exit
fi
echo "Uninstalling OneUptime..."
sudo docker compose down
sudo docker compose rm
echo "OneUptime uninstalled."
echo "We would like to hear your feedback to make this product better for you and for other users, please email us at hello@oneuptime.com."
echo " - If you notice a bug, we will fix it for you."
echo " - If you need a feature, we will add that to the roadmap and let you know the estimated time to ship."
echo "We would love to hear your feedback. Email: hello@oneuptime.com"