X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0d80c586d7477b3aec5c53a9d9bda458a4448516..83deb3f45fac5dff0ea8739532064484b757592e:/tools/compute-images/scripts/usr-local-bin-ensure-encrypted-partitions-aws-ebs-autoscale.sh diff --git a/tools/compute-images/scripts/usr-local-bin-ensure-encrypted-partitions-aws-ebs-autoscale.sh b/tools/compute-images/scripts/usr-local-bin-ensure-encrypted-partitions-aws-ebs-autoscale.sh index 4b73c8bc4f..abc63a2e92 100644 --- a/tools/compute-images/scripts/usr-local-bin-ensure-encrypted-partitions-aws-ebs-autoscale.sh +++ b/tools/compute-images/scripts/usr-local-bin-ensure-encrypted-partitions-aws-ebs-autoscale.sh @@ -24,7 +24,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" @@ -44,7 +44,7 @@ then ## runit sv up docker.io else - service docker start + systemctl enable --now docker.service docker.socket fi end=$((SECONDS+60))