projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
17344: Merge branch 'main'
[arvados.git]
/
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 4b73c8bc4ff643e41cf6e707526458b32b03c597..abc63a2e9246526612f3a00c7bb2f86bcfb91a18 100644
(file)
--- 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
then
sv stop docker.io || service stop docker.io || true
else
- s
ervice docker stop
|| true
+ s
ystemctl disable --now docker.service docker.socket
|| true
fi
ensure_umount "$MOUNTPATH/docker/aufs"
fi
ensure_umount "$MOUNTPATH/docker/aufs"
@@
-44,7
+44,7
@@
then
## runit
sv up docker.io
else
## runit
sv up docker.io
else
- s
ervice docker star
t
+ s
ystemctl enable --now docker.service docker.socke
t
fi
end=$((SECONDS+60))
fi
end=$((SECONDS+60))