X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/42fff42165a0fa1602758a078746f8697f265f83..83deb3f45fac5dff0ea8739532064484b757592e:/tools/compute-images/scripts/usr-local-bin-ensure-encrypted-partitions.sh diff --git a/tools/compute-images/scripts/usr-local-bin-ensure-encrypted-partitions.sh b/tools/compute-images/scripts/usr-local-bin-ensure-encrypted-partitions.sh index 462158e043..a76dc12109 100644 --- a/tools/compute-images/scripts/usr-local-bin-ensure-encrypted-partitions.sh +++ b/tools/compute-images/scripts/usr-local-bin-ensure-encrypted-partitions.sh @@ -121,7 +121,7 @@ if [ -d /etc/sv/docker.io ] then sv stop docker.io || service stop docker.io || true else - service docker stop || true + systemctl disable --now docker.service docker.socket || true fi ensure_umount "$MOUNTPATH/docker/aufs" @@ -143,7 +143,7 @@ then ## runit sv up docker.io else - service docker start + systemctl enable --now docker.service docker.socket || true fi end=$((SECONDS+60))