Skip to content
Snippets Groups Projects
Commit b520f1aa authored by jurgenhaas's avatar jurgenhaas
Browse files

Use ""--restart unless-stopped" only for non persistent containers

parent d4d3f264
Branches
Tags 2.0.0-beta3
No related merge requests found
......@@ -56,7 +56,6 @@ function startContainer() {
--volume ${SSHAUTH}:${SSHAUTHSOCK}
--volume ${HOMEDIR}:/home/${USERNAME}
--workdir /drupal
--restart unless-stopped
)
if [[ ${L3DHOSTOS} != Darwin ]]; then
start_params+=(
......@@ -80,6 +79,7 @@ function startContainer() {
)
docker run --name ${COMPOSE_PROJECT_NAME}_l3d -dt \
"${start_params[@]}" \
--restart unless-stopped \
registry.lakedrops.com/docker/l3d/php-${PHP_VERSION}:${L3DVERSION}
else
start_params+=(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment