X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0840aec1ec6fdcce4d1a317578bc1f5f5be1a1f6..ef1d036dce19a8a45605bbaa52bc2a9e5d6bd36a:/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))