container recovery initiated
. This is because the lines container has started
and container has exited
will be logged during the normal, healthy Release Lifecycle.
If an App is continuously restarting, Aptible will throttle recovery to a rate of one attempt every 2 minutes.
my-app
is running in the background, the Container will not exit when my-app
exits. Instead, it would exit if tail
exited.
To ensure Container Recovery effectively keeps an App up, make sure that:
aptible restart
.
Set the APTIBLE_DO_NOT_WIPE
Configuration variable on an App to any non-null value (e.g., set it to 1
) to prevent the filesystem from being wiped (assuming it is designed to handle being restarted properly).