cloudron-support: some newlines
This commit is contained in:
@@ -483,7 +483,8 @@ function do_recreate_containers() {
|
||||
sleep 2
|
||||
done
|
||||
|
||||
echo -e "\n\nDone! Addon containers successfully re-created. The apps in the dashboard will say 'Configuring (Queued)'. They will come up in a short while.\n"
|
||||
echo -e "\n\nDone! Addon containers successfully re-created. The apps in the dashboard will"
|
||||
echo -e "say 'Configuring (Queued)'. They will come up in a short while.\n"
|
||||
}
|
||||
|
||||
function recreate_containers() {
|
||||
@@ -528,8 +529,10 @@ function recreate_docker() {
|
||||
[[ -z "${docker_root}" ]] && docker_root="/var/lib/docker"
|
||||
|
||||
if [[ ! -e "${stagefile}" ]]; then
|
||||
echo -e "Use this command when docker storage (at $docker_root) is corrupt. It will delete the docker storage, re-download docker images and re-create containers. Dashboard and apps will be unreachable for a while. No data will be lost.\n"
|
||||
echo -e "The server may have to be rebooted twice for this process. If so, re-run this command after every reboot.\n"
|
||||
echo "Use this command when docker storage (at $docker_root) is corrupt. It will delete"
|
||||
echo "the docker storage, re-download docker images and re-create containers. Dashboard and apps"
|
||||
echo -e "will be unreachable for a while. No data will be lost.\n"
|
||||
echo -e "The server may have to be rebooted twice for this. If so, re-run this command after every reboot.\n"
|
||||
read -p "Do you want to proceed? (y/N) " -n 1 -r choice
|
||||
echo -e "\n"
|
||||
|
||||
@@ -545,7 +548,8 @@ function recreate_docker() {
|
||||
if grep -q "clearing_storage" "${stagefile}"; then
|
||||
info "Clearing docker storage at ${docker_root}"
|
||||
if ! rm -rf "${docker_root}/"*; then
|
||||
echo -e "\nThe server has to be rebooted to clear the docker storage. After reboot, run 'cloudron-support --recreate-docker' again.\n"
|
||||
echo -e "\nThe server has to be rebooted to clear the docker storage. After reboot,"
|
||||
echo -e "run 'cloudron-support --recreate-docker' again.\n"
|
||||
ask_reboot
|
||||
fi
|
||||
echo -e "cleared_storage" > "${stagefile}"
|
||||
@@ -557,7 +561,8 @@ function recreate_docker() {
|
||||
sleep 5 # give docker some time to initialize the storage directory
|
||||
download_docker_images
|
||||
echo -e "downloaded_images" > "${stagefile}"
|
||||
echo -e "\nThe server has to be rebooted again for docker to initialize properly. After reboot, run 'cloudron-support --recreate-docker' again.\n" # else docker network is not completely functional
|
||||
echo -e "\nThe server has to be rebooted for docker to initialize properly. After reboot,"
|
||||
echo -e "run 'cloudron-support --recreate-docker' again.\n" # else docker network is not completely functional
|
||||
ask_reboot
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user